Here is what acts_as_ferret.rb says, maybe this is a really old version 
or something.

# The Rails ActiveRecord Ferret Mixin.
#
# This mixin adds full text search capabilities to any Rails model.
#
# The current version emerged from on the original acts_as_ferret plugin 
done by
# Kasper Weibel and a modified version done by Thomas Lockney, which 
both can be
# found on the Ferret Wiki: 
http://ferret.davebalmain.com/trac/wiki/FerretOnRails.
#
# basic usage:
# include the following in your model class (specifiying the fields you 
want to get indexed):
# acts_as_ferret :fields => [ 'title', 'description' ]
#
# now you can use ModelClass.find_by_contents(query) to find instances 
of your model
# whose indexed fields match a given query. All query terms are required 
by default, but
# explicit OR queries are possible. This differs from the ferret 
default, but imho is the more
# often needed/expected behaviour (more query terms result in less 
results).
#
# Released under the MIT license.
#
# Authors:
# Kasper Weibel Nielsen-Refs (original author)
# Jens Kraemer <[EMAIL PROTECTED]> (active maintainer)

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to