method

scope_for

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: ActiveRecord::Reflection::MacroReflection
scope_for(relation, owner = nil) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/reflection.rb, line 429
      def scope_for(relation, owner = nil)
        relation.instance_exec(owner, &scope) || relation
      end
Register or log in to add new notes.