Changeset [6e4361f2d98b1f9f597309f7430f63d511726374] by Joel Chippindale

May 11th, 2012 @ 07:42 AM

Stop modifying resource_specification_map in place

Because this is a class attribute and modifying it in place will change the map for ALL
controllers not just the one you call map_enclosing_resource in.

This bug was introduced in commit 292c96986f1da6803b2826354d488eeb269da4d5
https://github.com/ianwhite/resources_controller/commit/6e4361f2d98...

Committed by Joel Chippindale

  • M lib/resources_controller.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.