Displaying 1 result from an estimated 1 matches for "camaign".
Did you mean:
campaign
2012 Jan 30
4
Reaching into a has_and_belongs_to_many - will :through work?
...able (who basically is left not belonging to anyone).
My question is this -- starting from Group I want to reach through that
HABTM and point directly at the Users who belong to this Group. I''ve
successfully done it by writing my own finder_sql, or by just cheating
and collapsing all the camaign.users together. But I''m working on a
user interface for this and I''d like my list of users to behave just
like any other activerecord operation so that I can page through them,
sort arbitrarily on columns and so on exactly as if I''d originally just
had "Group has ma...