method

name

Importance_1
v2.0.3 - Show latest stable - 0 notes - Class: ActiveRecord::Reflection::MacroReflection
name() public

Returns the name of the macro, so it would return :balance for "composed_of :balance, :class_name => ‘Money’" or :clients for "has_many :clients".

Show source
Register or log in to add new notes.