haven't used this myself but if I understand http://projects.jkraemer.net/acts_as_ferret/rdoc/classes/FerretMixin/Acts/ARFerret/ClassMethods.html#M000005 correctly you are able to add symbols of your instance methods to the fields of the options hash of acts_as_ferret:
"
| fields: | names all fields to include in the index. If not given, |
all attributes of the class will be indexed. You may also give
symbols pointing to instance methods of your model here, i.e.
to retrieve and index data from a related model.
"
Regards
Jan
On 5/22/06, Tom <[EMAIL PROTECTED]> wrote:
Hi,
One of the AAF features is to be able to index results of methods, but I
haven't seen anywhere how to do this. I have a method that returns the
full text of a file and I'd like for this to be indexed. Can anyone out
there help me out on this one?
Tom
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk
_______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

