Sha256: 5a2554464e2d4f341d19a2893a770e8a9e91db0c0e6d5d0894123a80e5ec224d

Contents?: true

Size: 584 Bytes

Versions: 5

Compression:

Stored size: 584 Bytes

Contents

# encoding: utf-8
module Mongoid #:nodoc
  module Components #:nodoc
    def self.included(base)
      base.class_eval do
        # All modules that a +Document+ is composed of are defined in this
        # module, to keep the document class from getting too cluttered.
        include Associations
        include Attributes
        include Callbacks
        include Commands
        include Fields
        include Indexes
        include Memoization
        include Observable
        include Validatable
        extend Finders
        extend NamedScope
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mongoid-1.0.6 lib/mongoid/components.rb
mongoid-1.0.5 lib/mongoid/components.rb
mongoid-1.0.4 lib/mongoid/components.rb
mongoid-1.0.3 lib/mongoid/components.rb
mongoid-1.0.2 lib/mongoid/components.rb