Two Different Types of Associatons on the Same Two Tables in Rails
- by tmo256
I have two models, users and themes, that I'm currently joining in a HABTM association in a themes_users table. Basically, after a user creates a new theme, it becomes available to other users to select for their own use.
However, only the original creator of the theme should have the ability to edit it. So, I need to have some other kind of…