Hi! If you have a one-to-many association,
Product - has_many :sizes Size - belongs_to :product and a price attribute is on the Size model, how would you filter for a particular price range? The define index block in the product model define_index do has sizes(:price), :as => 'size_prices' end Thanks! ------------------------------------------------------------- visit my blog at http://jimlabs.heroku.com -- 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.
