method
name
v2.2.1 -
Show latest stable
- Class:
ActiveRecord::Reflection::MacroReflection
name()public
Returns the name of the macro. For example, composed_of :balance, :class_name => 'Money' will return :balance or for has_many :clients it will return :clients.