search for: service_filter

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

2006 Jul 17
1
:create paramaters don''t get through (scoped_acces plugin)
Hi all, I''m wrestling with the scoped acces plugin to generate object access controll, but the :create params don''t seem to get through. :find works great. This is the code around_filter ScopedAccess::Filter.new(Service, :service_filter) layout "settings" protected def service_filter { :find => {:conditions => ["business_id = ?", current_user.get_business_id]}, :create => {:business_id => current_user.get_business_id}, } end Can someone push me in the right directi...