Method: Mongoid::Contextual::Mongo#update_all
- Defined in:
- lib/mongoid/contextual/mongo.rb
#update_all(attributes = nil) ⇒ nil, false
Update all the matching documents atomically.
474 475 476 |
# File 'lib/mongoid/contextual/mongo.rb', line 474 def update_all(attributes = nil) update_documents(attributes, :update_many) end |