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

Reply via email to