Hello Group,
I am using thinking sphinx 1.3.20 and when
running ts:conf I am not seeing one of my models in the config file
unless I remove two associations. Please have a look at this
has_many :sub_leagues, :class_name =>
"League", :foreign_key=>:parent_id, :dependent => :nullify
has_many :profile_links, :as => :profile_link_holder, :dependent
=> :delete_all
this is in league model. There is no defined indexes on these in the
define_index method if I comment out these two associations no problem
the config file gets generated. I have tried to remove each one and
run seperately but the config file still does not generate the
league_core as expected. These relationships look pretty run of the
mill to me. I have a table profile_links with profile_link_holder_id
and profile_link_holder_type.
anyway anyone's help would be appreciated.
Thanks
Dave
--
You received this message because you are subscribed to the Google Groups
"Thinking Sphinx" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/thinking-sphinx?hl=en.