search for: service_filt

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

Did you mean: 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 direc...