Problem building relationships between models
- by Brian Roisentul
Until now, I've been using acts_as_taggable_on plugin for tagging announcements.
That plugin creates the following tables:
taggings: relates tags and announcements table(for the tagged item, it has a field called taggable_id, which I rename to "announcement_id" for what I'll explain below).
tags: has the tag ids and names.
The other day, I…