Tuesday, February 21, 2012

[Rails] Collect users who posted items with ActsasTaggable on Tag in rails 3

I am using Rails 3 and Acts as taggable on in my application.

I am fetching the articles associated with the tag by

Article.tagged_with("tagname")

and

Blog.tagged_with("tagname")

Now i would like to collect all the users from the above i.e.., people
who are all posted articles and blogs with this tag Please suggest me..

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate