Am 15.10.2010 um 02:59 schrieb Jochen Kaechelin:
>
> Am 15.10.2010 um 00:47 schrieb Pat Allan:
>
>> Hi Jochen
>>
>> Is the delayed job queue being processed when you're making these changes?
>> And what does the rest of your define_index block look like?
class CategoriesProduct < ActiveRecord::Base
after_save :set_article_delta_flag
belongs_to :product
# ...
private
def set_article_delta_flag
product.delta = true
product.save
end
end
just does the trick!
;-)
Thanx
--
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.