search for: scope_products_to_user_temp

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

2006 Jul 24
1
meantime_filter won''t pick up my missing methods
...<code><pre> meantime_filter :scope_products_to_user #=> NameError: undefined method `scope_products_to_user'' for class `ProductsController'' </pre></code> I can only seem to run the methods from the controller. <code><pre> meantime_filter :scope_products_to_user_temp def scope_products_to_user_temp scope_products_to_user { yield } end </pre></code> This works fine. I think the problem is with how meantime_filter runs its methods. If it''s not fixable, is there any of good ways of achieving the same effect? -- Posted via http://www.ru...