On Thu, Oct 18, 2012 at 9:38 AM, wragen22 <bradwr...@gmail.com> wrote: > Extracted source (around line #7): > > 4: > 5: <% @posts.each do |status| %> > 6: <div class="post"> > 7: <strong><%= post.title %></strong> > 8: </div> > 9: > 10: <% end %>
Took me all of 0.00000000000000000000000000000000000000001 seconds to notice that you have @posts.each o |status| instead of @posts.each do |post| which means you haven't even told it that post should be the variable in that closure, status is the current. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.