method

type

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

Method deprecated or moved

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

type()
public

No documentation available.

# File activerecord/lib/active_record/reflection.rb, line 212
      def type
        @type ||= options[:as] && "#{options[:as]}_type"
      end