to_pram not getting called on nested resources
Reported by mcf1986 (at gmail) | June 2nd, 2008 @ 06:55 PM | in 0.9.8
I have nested resources and one does not have an id column, I would expect to_param to be called although the route generated does not have the param for the parent resource.
see http://pastie.caboo.se/207216 for details
Comments and changes to this ticket
-
mcf1986 (at gmail) June 3rd, 2008 @ 07:20 AM
Hrm, the syntax used in the patch http://merb.lighthouseapp.com/pr... doesn't work for me, however passing parent_id => @parent, works.
-
Michael Klishin (antares) June 28th, 2008 @ 09:31 PM
- → Tag changed from to merb-core routing
- → Milestone changed from to 0.9.4
- → State changed from new to open
-
Michael Klishin (antares) August 2nd, 2008 @ 06:39 PM
- → Milestone changed from 0.9.4 to 0.9.5
Router is being reworked at the moment. Stay tuned.
-
Carl Lerche August 7th, 2008 @ 10:36 AM
- → Assigned user changed from to Carl Lerche
-
Michael Klishin (antares) August 12th, 2008 @ 08:06 PM
- → Milestone changed from 0.9.5 to 0.9.6
-
Michael Klishin (antares) September 4th, 2008 @ 11:52 AM
- → Milestone changed from 0.9.6 to 0.9.7
-
Michael Klishin (antares) September 14th, 2008 @ 01:59 AM
- → Milestone changed from 0.9.7 to 0.9.8
-
Carl Lerche September 21st, 2008 @ 12:57 AM
- → Tag changed from merb-core routing to merb-core routing
- → State changed from open to resolved
The new router branch has been merged in. This should not be a problem anymore.
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
