search for: foosweep

Displaying 1 result from an estimated 1 matches for "foosweep".

Did you mean: geosweep
2008 Apr 01
1
"Undefined method merge" when using sweeper
...ying to use sweepers for the first time and got a problem - I get "undefined method `merge'' for "/signature/ f2d7c7c66450b169.html":String". The "/signature/f2d7c7c66450b169.html" part of the error message is the cached page. Here''s my sweeper: class FooSweeper < ActionController::Caching::Sweeper observe Foo def after_save(foo) expire_cache(foo) end def after_destroy(foo) expire_cache(foo) end def expire_cache(foo) expire_page signature_path(:opaque_id => foo.opaque_id) # line 13 expire_page signature_image_path(:op...