Class
MongoMapper::Plugins::Associations::OneProxy
In:
lib/mongo_mapper/plugins/associations/one_proxy.rb
Parent:
Proxy
Methods
apply_scope
build
create
create!
criteria
delete
destroy
find_target
foreign_key
instantiate_target
nullify
nullify_scope
replace
target_class
Public Instance methods
build
(attrs={}, &block)
create
(attrs={}, &block)
create!
(attrs={}, &block)
delete
()
destroy
()
nullify
()
replace
(doc)
Protected Instance methods
apply_scope
(doc)
criteria
()
find_target
()
foreign_key
()
instantiate_target
(instantiator, attrs={}, &block)
nullify_scope
(doc)
target_class
()
[Validate]