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
48 49 50 |
# File 'lib/rest_framework/controller_mixins/bulk.rb', line 48 def update_all raise NotImplementedError, "TODO" end |
#update_all! ⇒ Object
Perform the ‘update!` call and return the updated record.
53 54 55 |
# File 'lib/rest_framework/controller_mixins/bulk.rb', line 53 def update_all! raise NotImplementedError, "TODO" end |