method

reflection_class_for

reflection_class_for(macro)
private

No documentation available.

# File activerecord/lib/active_record/reflection.rb, line 33
        def reflection_class_for(macro)
          case macro
          when :composed_of
            AggregateReflection
          when :has_many
            HasManyReflection
          when :has_one
            HasOneReflection
          when :belongs_to
            BelongsToReflection
          else
            raise "Unsupported Macro: #{macro}"
          end
        end