Module: Mongoid::EmbeddedHelper::ArrayExt

Defined in:
lib/mongoid/embedded_helper.rb

Instance Method Summary collapse

Instance Method Details

#add_collection_name(obj) ⇒ Object



46
47
48
# File 'lib/mongoid/embedded_helper.rb', line 46

def add_collection_name obj
  self << {:collection_name => obj.collection_name, :object => obj}
end