ActiveRecord Reflection MacroReflection #macro attribute macro Ruby on Rails 4.1.16 Since v3.0.20 Last seen in v4.1.16 Available in: v3.0.20 v3.1.12 v3.2.22.5 v4.0.13 v4.1.16 Compare with: (choosing a version navigates to the comparison) Choose a version v3.0.20 · changed v3.1.12 · changed v3.2.22.5 · changed v4.0.13 · same Returns the macro type. composed_of :balance, class_name: 'Money' returns :composed_of has_many :clients returns :has_many On this page Support Bug Reports can be filed for the Ruby on Rails project on GitHub. Feature requests should be discussed on the rubyonrails-core forum. License Released under the MIT license.