Advertisement
Guest User

Untitled

a guest
Feb 16th, 2013
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Rails 0.34 KB | None | 0 0
  1. ActionView::Template::Error (undefined method `each' for nil:NilClass):
  2.     10:     <th></th>
  3.     11:   </tr>
  4.     12:
  5.     13: <% @posts.each do |post| %>
  6.     14:   <tr>
  7.     15:     <td><%= post.name %></td>
  8.     16:     <td><%= post.title %></td>
  9.   app/views/posts/index.html.erb:13:in `_app_views_posts_index_html_erb___532093864_33155928'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement