Skip to content

Instantly share code, notes, and snippets.

@ktheory
Created August 15, 2011 21:24
Show Gist options
  • Save ktheory/1147904 to your computer and use it in GitHub Desktop.
Save ktheory/1147904 to your computer and use it in GitHub Desktop.
I wish this worked...
@posts.each do |post|
post.body
else
"No posts"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment