heithem nouira
2011-May-13  08:13 UTC
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
-- 
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.