Changeset [cb77bc2325b1f165d08b0171fe501de70ef759ff] by Ian White

January 27th, 2010 @ 01:31 PM

added ResourceMethods#destroy_resource, which calls destroy on the resource_service, which in turn finds the best way to
destroy the resource to trigger any association callbacks. Changed actions to use the destroy_resource method. (reported by Jason Lee)

Committed by Ian White

  • M History.txt
  • M lib/ardes/resources_controller.rb
  • M lib/ardes/resources_controller/actions.rb
  • M lib/ardes/resources_controller/singleton_actions.rb
  • M spec/controllers/addresses_controller_spec.rb
  • M spec/controllers/comments_controller_spec.rb
  • M spec/controllers/forum_posts_controller_spec.rb
  • M spec/controllers/resource_service_in_forums_controller_spec.rb
  • M spec/controllers/resource_service_in_infos_controller_spec.rb
  • M spec/controllers/resource_service_in_interests_controller_via_forum_spec.rb
  • M spec/lib/resource_methods_spec.rb
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.