acts-as-taggable-on find within specific tag context
- by user284194
I have two models (entries and messages) using acts-as-taggable-on for tagging. How do I write a find condition for tagged messages from only the one model and not both? The only way I can get the tagged items to display is through the basic find:
@tags = Tag.find(:all)
But this displays tags from both the entries model and the messages model. How can I find the tags from just the messages model? I'm really new to Rails and ActiveRecord finds. I appreciate any help you can offer. Thank you for reading my question.