Skip to content

Instantly share code, notes, and snippets.

@tbuehlmann
Last active October 8, 2015 16:20
Show Gist options
  • Save tbuehlmann/260dc338436414c25fc3 to your computer and use it in GitHub Desktop.
Save tbuehlmann/260dc338436414c25fc3 to your computer and use it in GitHub Desktop.
if params[:friend_id]
friend = User.find(params[:friend_id])
else
# ...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment