Changeset [2f496874436e334346d4b0d8029a055c6821c93b] by Ian White

September 8th, 2008 @ 11:46 AM

API change: save_resource and resource_saved? deprecated

ActiveRecord::Base now has a saved? and attempted_save? method, which makes response_for much easier to write, and leaves less artefacts in the controller instance.

So save_resource, and resource_saved? are now deprecated, just use resource.save, and resource.saved? instead. See response_for_resources_controller if you're into response_for. http://github.com/ianwhite/resou...

Committed by Ian White

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

resources_controller is a rails plugin that eases the pain of RESTful controllers.