method

scope_for

Importance_0
v6.1.3.1 - 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 383
      def scope_for(relation, owner = nil)
        relation.instance_exec(owner, &scope) || relation
      end
Register or log in to add new notes.