logo       

Re: How do you use acts_as_ferret without rails?: msg#00132

lang.ruby.ferret.general

Subject: Re: How do you use acts_as_ferret without rails?

At first sight, you would just need to require acts_as_ferret/lib/
acts_as_ferret.

This file will do

ActiveRecord::Base.class_eval do
include FerretMixin::Acts::ARFerret
end

and thus merge the acts_as_ferret code into the ActiveRecord base class.

>I am currently using activerecord without rails and I'd like to use the
>acts_as_ferret plugin as it works well with activerecord.
>
>How do I take advantage of the acts_as_ferret without rails installed?
>
>Is this possible? If someone could provide me with direction on how
>this would be done, that would be greatly appreciated.
>
>I assume that since active record works without rails that all the
>acts_as plugins would work as well...
>
>Thanks in advance to all response.
>
>Cheers,
>Henry
>
>--
>Posted via http://www.ruby-forum.com/.
>_______________________________________________
>Ferret-talk mailing list
>Ferret-talk-GrnCvJ7WPxnNLxjTenLetw@xxxxxxxxxxxxxxxx
>http://rubyforge.org/mailman/listinfo/ferret-talk


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise