Displaying 1 result from an estimated 1 matches for "meter_group".
2010 Aug 18
6
Once I added this HABTM, one of my 'through' relationships, on a non-habtm model, seems to have broke?
I''m a rails newb and have been Googling about this, but I''m still stumped.
Not showing everything here, but basically it should be a pretty common
setup so I''m sure others know what I''m doing wrong.
- A meter can belong to many meter_groups
- A meter_group can have many meters.
- A user can ''subscribe'' to viewing a meter_group (Subscription) so he
should be able to see the meters that are in that meter_group of the
subscription (think subscribing to a topic in a forum.)
Initially I was only allowing a single meter...