Need advice with a model - should I choose has_many through
- by Martin Petrov
I have something like a blog with posts and tags. I want to add email notification functionality - users can subscribe to one or more tags and receive email notifications when new posts are added.
Currently I have a Tag model.
There will be a Subscriber model (containing the user's email)
Do you think I also need a Subscription table where Subscriber and Tag are joined?
.. or I can skip it and directly link Subscriber with Tag?