Method: Flex#delete_collection
- Defined in:
- lib/flex/deprecation.rb
#delete_collection(collection, options = {}) ⇒ Object
43 44 45 46 |
# File 'lib/flex/deprecation.rb', line 43 def delete_collection(collection, ={}) Deprecation.warn 'Flex.delete_collection(collection)', 'Flex.post_bulk_collection(collection, :action => "delete")' post_bulk_collection(collection, .merge(:action => 'delete')) end |