Andrew White
Technical Director · Member of 1 project: Ruby on Rails
Andrew White's latest activity
Friday, June 25 2010
-
- Milestone cleared.
- State changed from new to open
- Assigned user set to José Valim
Patch posted inline as LH attachments appear to be broken
From 38613c364f4025912fbd0923b2d872851db50176 Mon Sep 17 00:00:00 2001 From: Andrew White <andyw@pixe... -
Andrew White created the ticket at 3:47 PMRoutes which have a regexp requirement for a glob parameter ignore that requirement. The problem is in rack-mount but the attached patch is a test case for this...
-
- Milestone cleared.
- State changed from stale to resolved
- Assigned user changed from josh to Andrew White
This appears to be working now:
# routes.rb resources :users, :defaults => { :locale => 'en' } andyw$ rails c >> app.users_path => "/users"Please ...
-
- State changed from open to resolved
- Assigned user set to Andrew White
This seems to be working now:
match '/:locale/*path.:format', :to => 'articles#show' # GET /en/this/is/a/long/path.html # => {"format"=>"html", "action"...
-
- State changed from new to open
I've had a good go at fixing this today and I've determined that's it's not possible to do it in such a way that works well for the general case. The main stumb...
-
- Assigned user set to Andrew White
Paul, can you rebase your patch against the latest HEAD?
-
Andrew White commented at 8:11 AMYou don't need the anchor as all routes are anchored at the start. If what you're trying to do is to make sure that if the id param starts with an number then r...
-
- State changed from open to invalid
You can't use regexp anchors within routing constraints as the whole route is compiled into a larger regexp that begins with \A and may end with \Z (depending o...
-
Andrew White commented at 7:08 AMTo match http://localhost:3000/person/ME the routes would be:
R4963::Application.routes.draw do |map| resources :users match 'person/:id' => 'users#show', ... -
- State changed from new to invalid
Because you specified a single character id with the regexp