Re: Searching through HABTM

Jables
Wed, 28 May 2008 04:38:46 -0000

I may be misunderstanding what you are saying, but what I am looking
to do is essentially:
stories = Story.find_all_by_genres("GENRE")
where genres has a has_and_belongs_to_many relationship to story.

Thanks,
JB