method

name

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

Method deprecated or moved

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

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.