On Thursday, May 19, 2016 at 11:21:50 AM UTC+1, Ruby-Forum.com User wrote:
>
> when I try to render a collection of comments associated with a status 
> like so: 
>
> <%= render @comments %> 
>
> I get this error: 
>
> PG::UndefinedColumn: ERROR:  column comments.status_id does not exist 
> LINE 1: SELECT "comments".* FROM "comments" WHERE "comments"."status_id" 
>
>
What exactly is @comments?

Fred

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/0a03c1df-4c96-4398-a118-bc833c906169%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to