you need to add `has_many :people` to your Group class
On 2010-06-25 4:03 AM, Raimon Fernandez co...@montx.com wrote:
Hi, it's me again ...
:-)
I have one table called people and another one called groups.
Each person from people belongs to ONE group.
module List::Models
class Person
yes, you're right !!
I've been caight by the pre-pend table name in the field name ...
:-)
thanks,
r.
On 25jun, 2010, at 13:33 , Philippe Monnet wrote:
Raimon,
I suspect that your relationship column (foreign key) should actually be
called group_id not list_group_id like in:
2 matches
Mail list logo