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
on 2006-12-31 04:21
on 2006-12-31 13:48
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.