This project is archived and is in readonly mode.

Route globbing broken in Rails 3
Reported by Szymon Nowak | February 23rd, 2010 @ 09:53 AM | in 3.0.2
Not sure if it's a problem with Rails code or documentation.
match 'match/*glob' => 'posts#example'
ActionController::Routing::Routes.recognize_path('match/1/2/3/4')
=> {:controller=>"posts", :action=>"example", :glob=>"1/2/3/4"}
In Rails 2 glob params where converted to an array and according to Rails guides they still should be.
Comments and changes to this ticket
- 
         José Valim February 23rd, 2010 @ 09:00 PM- Assigned user set to josh
- Milestone cleared.
 
- 
            
         Łukasz Strzałkowski February 23rd, 2010 @ 09:55 PM- Assigned user cleared.
 Confirmed. It don't split glob's string into array and it definetly should. I'll try to look at this tommorow. 
- 
         José Valim February 23rd, 2010 @ 09:58 PM- Assigned user set to josh
 
- 
         josh February 24th, 2010 @ 01:52 AM- State changed from new to invalid
 This is an intended behavior change. 
- 
         
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>
 Dmitry Polushkin
      Dmitry Polushkin
 José Valim
      José Valim
 josh
      josh
 Santiago Pastorino
      Santiago Pastorino
 Szymon Nowak
      Szymon Nowak