search for: silo_id

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

Did you mean: file_id
2006 Jun 28
2
[PATCH] Bug fixes and additions to scoped_access
...ontroller.instance_eval(@scoping.to_s) if @scoping.is_a?(Symbol) This makes @scoping not a symbol on the first run and @scoping will never be evaluated again. This would fail in code which looks like this: For example: def silo_filter(klass) filter = ScopedAccess::ClassScoping.new klass, :silo_id => @silo.id end where, @silo is set in a before_filter. I''ve also added in some code to check if the passed in scoping is a method. If it is, the method is called with the class as a parameter. This allows for more DRY code. I''m new here and do not know if this is the ri...