On Sep 23, 10:33 am, "Andres Rodriguez" <[EMAIL PROTECTED]> wrote:
> When you make a find with 'include' you are using two tables in a SQL query,
> so you need to explicitly write the table_name.row_name when using
> conditions.
>
> user is not the table, that's why user.cuid didn't work. users is the table
> name.
>
> Remember:
>
> Model == Singular
> table == plural
Got it, thanks.
Dan
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---