Ok i found the solution: http://stackoverflow.com/questions/7195473/rails-3-why-is-my-postshow-view-showing-all-of-its-comments-database-data-in
The problem is in the view perhaps you have = it's the = in the @comments.each tag. It is returning the result of each, which is the whole array. For example: irb> [1,2].each {|i| puts i } 1 2 => [1, 2] So: <%= @comments.each do |comment| %> Should simply be: <% @comments.each do |comment| %> I hope that works for you. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9f326cb7ff13278486419abc3331df81%40ruby-forum.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.