pfletch1023/Gandalf — pull request #9 by pfletch1023 (2012-11-19 16:36:20+00:00)
Title: Updating Subscription Models

So I've messed around with the models a bit here. Primarily, I've destroyed `subscriptions` and replaced them with `organization_subscriptions` and `category_subscriptions`. These are both join tables (between users and organizations, user and categories), but we will want to add attributes to them in the future I imagine. To do `User.first.events` there are two through associations -- the first through `organization_subscriptions` to get `subscribed_organizations`, and a second through `subscribed_organizations` to get `events`. The same is done for categories. Check out the models.