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 ]


9
10
11
12
# File 'lib/mongoid/attributes/nested.rb', line 9

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