Thinking_sphinx don't look for models in vendor/plugins/pluginname/lib/app/models?

Hi,
I 'm trying to make a plugin, and i have activerecord models that i
want to index them with sphinx.
when i run rake thinking_sphinx:index , i discovered that only models
in app/models were indexed.

this is what i put in one of my models stored in vendor/plugins/
pluginname/lib/app/models:


define_index do

indexes :name

end


i m using Rails 3 with ruby 1.9.2

Best Regards
thanks

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs