search for: signature_image_path

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

2008 Apr 01
1
"Undefined method merge" when using sweeper
...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(:opaque_id => foo.opaque_id) end end The signature_path(:opaque_id => string) generates "/signature/ string.html" route, so this part works correctly. Here''s stack trace: .../vendor/rails/actionpack/lib/action_controller/caching.rb:125:in `expire_page'' .../ven...