Hi Jason Is there anything else in your model? I'm wondering if there's an error in there that stops things from loading.
You can use the BlogPost model fine in script/console, I guess? -- Pat On 13/05/2011, at 1:28 PM, Jason Torres wrote: > I have an ActiveRecord model below, for one weird reason - it just stops > being included in the config file when I regenerate my sphinx config via rake > ts:conf > > It used to be working before, and I didn't do anything on the code. It's on > Rails 2.3.5 . Is there anyway to debug this? > > Here's the model code. > > class BlogPost < ActiveRecord::Base > define_index do > indexes title, :sortable => true > indexes body > > has user_id > has blog_id > > has created_at > has updated_at > has published > has featured > end > end > > even just a simple one doesn't work anymore. > > class BlogPost < ActiveRecord::Base > define_index do > indexes title, :sortable => true > indexes body > end > end > > I tried checking out the master branch but I'm still having the same issue. > Anybody else here experienced the same? > > Thanks > Jason > > > > > > -- > 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. -- 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.
