method

macro

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActiveRecord::Reflection::MacroReflection
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.

Show source
Register or log in to add new notes.