Flowdock
method

join_scopes

Importance_0
v5.1.7 - Show latest stable - 0 notes - Class: PolymorphicReflection
join_scopes(table, predicate_builder) 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 1047
      def join_scopes(table, predicate_builder) # :nodoc:
        scopes = @previous_reflection.join_scopes(table, predicate_builder) + super
        if @previous_reflection.options[:source_type]
          scopes + [@previous_reflection.source_type_scope]
        else
          scopes
        end
      end
Register or log in to add new notes.