forked from OpenNeo/impress
double whoops; the actual problem was that i hadnt restarted the background workers :P
This commit is contained in:
parent
9fe19e00c7
commit
eda80a8dc7
2 changed files with 1 additions and 6 deletions
|
@ -1,5 +0,0 @@
|
||||||
class SwfAssetObserver < ActionController::Caching::Sweeper
|
|
||||||
def after_save(swf_asset)
|
|
||||||
Resque.enqueue(Item::UpdateTask, swf_asset.item.id) if swf_asset.item
|
|
||||||
end
|
|
||||||
end
|
|
|
@ -22,7 +22,7 @@ module OpenneoImpressItems
|
||||||
# Activate observers that should always be running
|
# Activate observers that should always be running
|
||||||
config.active_record.observers = [:closet_hanger_observer,
|
config.active_record.observers = [:closet_hanger_observer,
|
||||||
:closet_list_observer, :contribution_observer, :item_observer,
|
:closet_list_observer, :contribution_observer, :item_observer,
|
||||||
:pet_type_observer, :swf_asset_observer, :user_sweeper]
|
:pet_type_observer, :user_sweeper]
|
||||||
|
|
||||||
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
||||||
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
||||||
|
|
Loading…
Reference in a new issue