method

new

rails latest stable - Class: ActiveRecord::Reflection::PolymorphicReflection

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.

new(reflection, previous_reflection)
public

No documentation available.

# File activerecord/lib/active_record/reflection.rb, line 1028
      def initialize(reflection, previous_reflection)
        @reflection = reflection
        @previous_reflection = previous_reflection
      end