This project is archived and is in readonly mode.

#3403 ✓wontfix
Sam Ruby

Last Request no longer respected (AWDwR3, section 21.2)

Reported by Sam Ruby | October 21st, 2009 @ 05:03 PM | in 3.0.2

Symptoms:

rs = ActionController::Routing::Routes
last_request = rs.recognize_path "/blog/2006/07/28"
rs.generate({:year => 2006}, last_request)

2.3.3 => "/blog/2006/07/28"
2.3.4 => /blog/show_date?year=2006"
3.0pre => "/blog/2006"

Note: the issue isn't that it isn't picking the "optimum" URI, the issue is that it isn't picking one that matches the last_request.

Comments and changes to this ticket

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

Pages