Method: ActiveRecord::Reflection::AssociationReflection#macro

Defined in:
lib/active_record/reflection.rb

#macroObject

Returns the macro type.

has_many :clients returns :has_many

Raises:

  • (NotImplementedError)


699
# File 'lib/active_record/reflection.rb', line 699

def macro; raise NotImplementedError; end