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
On Tue, Sep 23, 2008 at 11:29 AM, Frederick C. < [email protected]> wrote:
)
–
ANDRES RODRIGUEZ E
Electronic Engineer
Software Developer
IT Consultant
US Phone: (305) 853-8356
Primary Mobile: +57-300-2006186
Secondary Mobile: +57-314-7939859