I'm seeing odd behaviour in models with a sphinx index (models without an index appear to be unaffected). The `.all` class method behaves funny from the console -- it doesn't include instances created during that session. Stopping and restarting the console fixes the behaviour (rebuilding the index has no effect). I'm wondering if this is normal.
Here's an example to illustrate: item = Item.create(params) => #<Item id: 1 ... > Item.all.length => 1 Item.all.include?(item) => false Item.find(item.id) => #<Item id: 1 ... > --- Exit & open a new console session --- item = Item.find(item.id) => #<Item id: 1 ... > Item.all.include?(item) => true Any insight would be appreciated -- thanks! -- 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.
