search for: business_id

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

2006 Jul 17
1
:create paramaters don''t get through (scoped_acces plugin)
...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 direction? Kind regards, Jeroen van Doorn