How do I use a model that has “acts_as_ferret” defined outside rails?
I’ve tried adding this to the top of my model:
and then defining RAILS_ROOT and RAILS_ENV in my app that uses the model
outside rails. That got me this exception:
ferret_create': undefined methoddebug’ for nil:NilClass
Anyone know what’s the correct way to do this?