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




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…

How do your Article and Blog models relate to the User model?

Assuming User has many Articles and Blogs you can simply do this:

user = User.find_by_whatever(“something”)

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs