Err, do you mean :conditions and :with? :conditions is for searching on specific fields, :with is for filters on attributes.
If both of those columns are integers, then you only need to define the attributes like so: has modulable.chapter_type, :as => :chapter_type has modulable.objectives, :as => :activity_objectives As long as there are modulable results already in the database that have those columns, that should work. -- Pat On 11/08/2009, at 7:41 PM, tispratik wrote: > > Hi Pat, > > The two attributes are integers only. The goal of these fields is to > find out the type of the chapter/activity. > Whats the difference between :options and :with for TS? > > > Thanks, > Pratik > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
