search for: scopedaccessfilt

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

Did you mean: scopedaccessfilter
2006 Jun 28
2
[PATCH] Bug fixes and additions to scoped_access
...scope = controller.instance_eval(@scoping.to_s) + else + scope = controller.instance_eval("#{@scoping}(#{@klass})") + end + end + + constrain = self.class.generate_constrain(@klass, scope, :table_name =>@klass.table_name) @klass.logger.debug("ScopedAccessFilter#before (called from %s):\n\t[%s] scope becomes %s" % [controller.class, @klass, constrain.inspect]) @klass.instance_eval do Cheers, Nikhil. -- Posted via http://www.ruby-forum.com/.