This project is archived and is in readonly mode.
Allow customized regexp for id in map.resources
Reported by Ruy Asan | June 6th, 2008 @ 01:00 AM
This patch is an updated & tested version of the solutions proposed here.
It basically just allows for different formats for :id, which in turn allows for more informative/advanced RESTfull URLs.
Comments and changes to this ticket
-
Pratik August 21st, 2008 @ 12:40 PM
- Title changed from (resurected from trac) Allow customized regexp for id in map.resources to Allow customized regexp for id in map.resources
- Tag set to actionpack, patch, routing, tested
-
Pratik August 21st, 2008 @ 12:41 PM
- State changed from new to incomplete
The patch no longer applies cleanly. Could you please update against the lastest edge ?
Thanks.
-
Ruy Asan December 4th, 2008 @ 09:59 AM
Well, I was hoping 2.2.x will have fixed this, but no luck :(
Here is the patch again (should apply cleanly, it's trivial) - unfortunately it also breaks existing unit tests now. I can't say I understand the routing code well enough to know what's really going on.
However, the included unit test should illustrate the problem.
-
CancelProfileIsBroken August 6th, 2009 @ 02:22 PM
- State changed from incomplete to resolved
#2595 committed, so closing this.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Tags
Referenced by
- 2595 A test for irregular ID requirements and custom member action This is a follow up for #351. The underlying issue seems ...