I’ve got a site that has the main site as well as an admin app. Both of
them use the same ferret index. Objects from the main site are
namespaced in the admin site, and those namespaced objects share the
same db with the main site.
Case in point: class Photo < ActiveRecord::Base in the main site is
class MainSite::Photo < MainSite::Base in the admin site, where
MainSite::Base specifies the main site’s database. So admin objects
live in their own db, and main objects are shared between apps.
Anyway, there’s a ferret index on Photos and their categorization scheme
(Branches, Facets, etc). If I’m on the main site and I update the
categorization info (add a few tags) for a photo, ferret updates
immediately. If I do the same thing from the admin site, ferret has to
be manually reindexed.
Can anyone give me any pointers on why this would be? Are the differing
class names causing the trouble? I just don’t understand…
Thanks in advance for any help, and I can provide more details as