search for: commerce_sweep

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

Did you mean: commerce_sweeper
2008 Jan 26
0
"value must be enumerable" exception when using a sweeper?
...liged. Notes: I''m using Engines... wonder if that could cause a problem. And yet, if I ''observe'' my User model, which is part of my main app and not an engine or plugin, it still gives me the same exception. Thanks! -------------------- application.rb: cache_sweeper :commerce_sweeper -------------------- commerce_sweeper.rb: class CommerceSweeper < ActionController::Caching::Sweeper observe Product def after_save(record) end end -------------------- exception: C:/dev/ruby/lib/ruby/1.8/set.rb:275:in `+'' C:/dev/ruby/lib/ruby/gems/1.8/gems/activerecord-1...