Module: MongoMapper::Plugins::Micelaneous::InstanceMethods

Defined in:
lib/mongo_mapper_ext/plugins/micelaneous.rb

Instance Method Summary collapse

Instance Method Details

#upsert(*args) ⇒ Object



6
7
8
# File 'lib/mongo_mapper_ext/plugins/micelaneous.rb', line 6

def upsert *args
  self.class.upsert id, *args
end