I have a many-to-many relationship between: registrations and groups
(properly setup on each side with has_and_belongs_to_many)
so I do this in the console:
reg = Registration.find(:first)
grp = Group.find(:first)
grp.registrations list me the registrations' attributes linked with
the group in question
reg.groups returns me:
NoMethodError: undefined method `groups' for #<Registration:0x3164718>
where XX started around 10 I think and kept augmenting each time I ran
I can't figure out what is happening to get this message...
registrations and groups are identically setup to what I can see...
thanks if anyone can bring me any clue!
PS. I'm using restful_authentication and restful_acl, but it shouldn't
give any problem here...