Module: MongoMapper::Document

Extended by:
ActiveSupport::Concern, Plugins
Includes:
Plugins::Accessible, Plugins::ActiveModel, Plugins::Associations, Plugins::Caching, Plugins::Callbacks, Plugins::Clone, Plugins::Dirty, Plugins::Document, Plugins::Dumpable, Plugins::DynamicQuerying, Plugins::EmbeddedCallbacks, Plugins::Equality, Plugins::IdentityMap, Plugins::Indexes, Plugins::Inspect, Plugins::Keys, Plugins::Logger, Plugins::Modifiers, Plugins::Pagination, Plugins::Persistence, Plugins::Protected, Plugins::Querying, Plugins::Rails, Plugins::Safe, Plugins::Sci, Plugins::Scopes, Plugins::Serialization, Plugins::Timestamps, Plugins::Touch, Plugins::Userstamps, Plugins::Validations
Defined in:
lib/mongo_mapper/document.rb

Constant Summary

Constant Summary

Constants included from Plugins::Keys

Plugins::Keys::IS_RUBY_1_9

Constants included from Plugins::Querying

Plugins::Querying::Methods

Constants included from Plugins::Dumpable

Plugins::Dumpable::DUMP_BLACKLIST

Method Summary

Methods included from Plugins

included, plugin, plugins

Methods included from Plugins::IdentityMap

#add_to_identity_map, clear, #delete, enabled, enabled=, enabled?, include?, key, #remove_from_identity_map, repository, #save, use, without

Methods included from Plugins::Callbacks

#destroy, #touch

Methods included from Plugins::EmbeddedCallbacks

#run_callbacks

Methods included from Plugins::Validations

#save, #valid?

Methods included from Plugins::Touch

#touch

Methods included from Plugins::Timestamps

#update_timestamps

Methods included from Plugins::Serialization

#serializable_attributes, #serializable_hash, #to_xml

Methods included from Plugins::Sci

#initialize

Methods included from Plugins::Safe

#save_to_collection

Methods included from Plugins::Rails

#new_record?, #read_attribute, #read_attribute_before_type_cast, #to_key, #to_model, #to_param, #write_attribute, #write_key

Methods included from Plugins::Protected

#attributes=, #update_attributes, #update_attributes!

Methods included from Plugins::Accessible

#accessible_attributes, #accessible_attributes?, #attributes=, #update_attributes, #update_attributes!

Methods included from Plugins::Persistence

#collection, #database

Methods included from Plugins::Modifiers

#add_to_set, #decrement, #increment, #pop, #pull, #pull_all, #push, #push_all, #set, #unset

Methods included from Plugins::Logger

#logger

Methods included from Plugins::Dirty

#clear_changes, #initialize, #reload, #save

Methods included from Plugins::Keys

#[]=, #assign, #attributes, #attributes=, #embedded_keys, #id, #id=, #initialize, #initialize_from_database, #key_names, #keys, #non_embedded_keys, #persisted?, #read_key, #to_mongo, #update_attribute, #update_attributes, #update_attributes!

Methods included from Plugins::Inspect

#inspect

Methods included from Plugins::Equality

#eql?, #hash

Methods included from Plugins::Clone

#initialize_copy

Methods included from Plugins::Caching

#cache_key

Methods included from Plugins::Associations

#associations, #build_proxy, #embedded_associations, #get_proxy, #save_to_collection

Methods included from Plugins::Querying

#delete, #destroy, #save, #save!

Methods included from Plugins::Dumpable

#marshal_dump, #marshal_load

Methods included from Plugins::Document

#_root_document, #destroyed?, #new?, #reload