search for: finder_scop

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

Did you mean: finder_scope
2011 Jul 11
2
Can't get this Rspec test to pass
...pe(scope,options[:with_global_scope]) if options[:with_global_scope] send :before_filter, "set_scope_for_#{scope}".to_sym if self.ancestors.include? ActionController::Base send :default_scope, where(scope.to_sym => send("current_scope_for_#{scope}".to_sym)[:finder_scope]).create_with(scope.to_sym => send("current_scope_for_#{scope}".to_sym)[:creator_scope]) if (self.ancestors.include? ActiveRecord::Base) && Thread.current[scope.to_sym] end alias honors_scope_of acts_as_scope_manager private def set_global_...