2009-10-05から1日間の記事一覧
Two surprises with Rails today involving URLs and escape sequences.1. Regular expressions in routes operate on the raw URL.Suppose you have these routes: map.connect 'test/:id', :controller => 'test', :id => /[^\/]*/ map.connect 'test/:hi/…