Displaying 1 result from an estimated 1 matches for "ferret_cat".
2007 Aug 06
4
acts_as_ferret cross model index not updating
...://www.railsenvy.com/2007/2/19/acts-as-ferret-tutorial#nonmodel) to
get aaf working across different models. And once the index is built it
searches fine.
In my (main) model, I''ve put:
acts_as_ferret :fields => [ :name,
:notes,
:ferret_cat,
:ferret_comments,
:ferret_place,
:ferret_postcode,
:ferret_bookmarks,
:ferret_tags]
and e.g.
def ferret_cat
return "#{self.category.name}"
end...