have u tried using :

ContentMaster.find_by_sql("Select * From content_master where tag_id=1
AND tag_id=2")

then follow the same steps for array and make loop .
I suppose this should solve your problem

thank you,
manmohan vyas

-- 
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