method

macro

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.

macro()
public

Returns the macro type. For example, composed_of :balance, :class_name => 'Money' will return :composed_of or for has_many :clients will return :has_many.