A very,very tiny plugin to mass delete a ActiveRecord Collection
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
test
.gitignore
MIT-LICENSE
README.textile
Rakefile
init.rb
install.rb
uninstall.rb

README.textile

MassDeletable

A very,very tiny plugin to mass delete a ActiveRecord Collection. Used within a Flex On Rails Project. Not a biggie.

Example

Product.mass_destroy(:bunch => params[:products_collection])

It supports a collection of Fixnums or ActiveRecord models.

Copyright © 2010 Daniel Schmidt Datenspiel GmbH, released under the MIT license