Should this be able to work from the Console? For example, let's assume
there is a Post record with a Category name of "Help"...
Post.find_by_contents("Help")
For some reason this does not generate any results...
Maxime Curioni wrote:
> Thanks Jens, I didn't know it was that simple !
>
>
>> you could use
>>
>> acts_as_ferret :fields => [ 'title', 'content', :category_name]
>> def category_name
>> category.name
>> end
>>
>> to achieve this.
>>
>> Jens
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk