i have two module both are joined by HABTM name are tags and
content_masters

i have content_master .id and i want to get all the content_masters
which are with the same tag as that id has .

means if my content_master .id=1 is associated with tag_id 1,2
than i want the listing of all the content_master with tag_id=1,2

please suggest how to do in rails

thanks

rahul

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to