mongoid/mongoid — pull request #2312 by rehevkor5 (2012-08-22 16:50:42+00:00)
Title: Added a "delete" method to Mongoid::Generators::ActiveModel

- Added a "delete" method to Mongoid::Generators::ActiveModel so that controller generator templates using Paranoid can use "orm_instance.delete" to generate a delete call instead of a destroy call.

I couldn't find an appropriate spec to update. If you want one, where do you prefer it to be?