method

join_scopes

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: PolymorphicReflection
join_scopes(table, predicate_builder, klass = self.klass, record = 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 1033
      def join_scopes(table, predicate_builder, klass = self.klass, record = nil) # :nodoc:
        scopes = @previous_reflection.join_scopes(table, predicate_builder, record) + super
        scopes << build_scope(table, predicate_builder, klass).instance_exec(record, &source_type_scope)
      end
Register or log in to add new notes.