123456789_123456789_123456789_123456789_123456789_

Module: Mongoid::Attributes::Nested

Relationships & Source Files
Namespace Children
Modules:
Extension / Inclusion / Inheritance Descendants
Included In:
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, ActiveSupport::Concern
Defined in: lib/mongoid/attributes/nested.rb

Overview

Defines behavior for the ::Rails nested attributes feature.

DSL Calls

included

[ GitHub ]


11
12
13
14
# File 'lib/mongoid/attributes/nested.rb', line 11

included do
  class_attribute :nested_attributes
  self.nested_attributes = {}
end