Skip to content

Instantly share code, notes, and snippets.

@alindeman
Created December 18, 2010 02:44
Show Gist options
  • Save alindeman/746074 to your computer and use it in GitHub Desktop.
Save alindeman/746074 to your computer and use it in GitHub Desktop.
@posts.try(:each) do |post|
# something with post
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment