Log In or Sign Up

I'd Tag That

Acts As Taggable On - Blog Launch

This is the official blog of acts_as_taggable_on. Any time there is significant news regarding the plugin, I’ll be posting it here.

Now that the plugin has been gemified, something I’d really like to do is make it compatible with more than just Rails. If you have experience writing Merb plugins and would be interested in helping me to make AATO Merb and DataMapper compatible, please leave me a comment on this post or send me a contact request on AAC. I’m looking forward to continuing to grow the plugin to fit the needs of everyone who wants to tag stuff.

Welcome to “I’d Tag That”!

Posted June 12, 2008 by Acts As Taggable On | 1 Comment

1 Comment

Photo for net se net se said about 1 year ago

Hello,

I found acts_as_taggable_on this day and I find it very helpful, but I have a little question.

I have products with “feature” tags and “compatible” tags

so i can assign tags to feature (metal, black, ….) and tags to compatible (aluminium, grey)

I can find products with individual feature on compatible ex :
product.find_tagged_with(“metal”, :on => :compatible")

but I don’t find a way to find relationships between feature and compatible . I need to find :
product.find_related_compatible_on_feature

You can translate that to people.

@bobby.feature_list =“male, blue eyes”
@bobby.compatible_list=“female, green eyes”

@pamela.feature_list=“female, green eyes”
@pamela.compatible_list=“male, blue eyes”

@pamela.find_related_compatible_to_feature should find @bobby

Any clue about that ?

You must be logged in to post a comment.