Module: RESTFramework::BulkUpdateModelMixin
- Included in:
- BulkModelControllerMixin
- Defined in:
- lib/rest_framework/controller_mixins/bulk.rb
Overview
Mixin for updating records in bulk.
Instance Method Summary collapse
- #update_all ⇒ Object
-
#update_all! ⇒ Object
Perform the ‘update!` call and return the updated record.
Instance Method Details
#update_all ⇒ Object
18 19 20 |
# File 'lib/rest_framework/controller_mixins/bulk.rb', line 18 def update_all raise NotImplementedError, "TODO" end |
#update_all! ⇒ Object
Perform the ‘update!` call and return the updated record.
23 24 25 |
# File 'lib/rest_framework/controller_mixins/bulk.rb', line 23 def update_all! raise NotImplementedError, "TODO" end |