This project is archived and is in readonly mode.
polymorphic_url fails to generate routes with :path_prefix with a variable
-
iGEL
- Tag changed from 2-3-stable, 3.0, action_pack, patch, polymorphic_path to 2-3-stable, 2.3.5, 3.0, action_pack, patch, polymorphic_path
Here my patch for Rails 2-3-stable.
Unfortunately my patch for Rails 3.0 doesn't cleanly apply to the master anymore because of this commit: a74022ecd3e078f55ed6049a96565119dc540ff5 I will provide a new patch tomorrow or something.
-
iGEL
Here my new patch for Rails 3.
-
François Beausoleil
I used the rails2-3 patch on our code. It looks good and does what we need it to do. We would like to see this included in 2.3.5. The code isn't in production yet, but staging looks good.
-
François Beausoleil
We're going in production with this change: http://github.com/bloom/rails/tree/ticket-3394
-
iGEL
- Tag changed from 2-3-stable, 2.3.5, 3.0, action_pack, patch, polymorphic_path to 2-3-stable, 2.3.6, 3.0, action_pack, bugmash, bugmash-patch, patch, polymorphic_path
I've updated the patch for rails 2-3-stable. Will do the same for the rails 3 now.
-
iGEL
- Tag changed from 2-3-stable, 2.3.6, 3.0, action_pack, bugmash, bugmash-patch, patch, polymorphic_path to 2-3-stable, 2.3.6, action_pack, bugmash, bugmash-patch, patch, polymorphic_path
Looks like rails 3 doesn't need a patch anymore, because of this commit: 427a7385eb9b784ad4372bf607217b0b7b2ca543
-
Rizwan Reza
- Tag changed from 2-3-stable, 2.3.6, action_pack, bugmash, bugmash-patch, patch, polymorphic_path to 2-3-stable, 2.3.6, action_pack, bugmash-patch, patch, polymorphic_path
-
François Beausoleil
- Tag changed from 2-3-stable, 2.3.6, action_pack, bugmash-patch, patch, polymorphic_path to 2-3-stable, action_pack, bugmash-patch, patch, polymorphic_path
This patch is in production since December 2009 for us. We've had great success. Would like to see this applied on 2-3-stable.
-
Santiago Pastorino
- State changed from new to open
- Importance changed from to
This issue has been automatically marked as stale because it has not been commented on for at least three months.
The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.
Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.
-
Santiago Pastorino
- State changed from open to stale
