Method: ActiveRecord::Reflection::AssociationReflection#macro

Defined in:
activerecord/lib/active_record/reflection.rb

#macroObject

Returns the macro type.

has_many :clients returns :has_many

Raises:

  • (NotImplementedError)


703
# File 'activerecord/lib/active_record/reflection.rb', line 703

def macro; raise NotImplementedError; end