search for: r4498

Displaying 1 result from an estimated 1 matches for "r4498".

Did you mean: 24498
2006 Jul 16
1
Rails Core Weekly July 2 - July 16
.../70990#new ] Francois Beausoleil''s route: map.game_instructions ''game/:game/instructions'', :controller => ''games'', :action => ''instructions'', :requirements => {:game => /\A[-\w \+%]+\Z/i} fails miserably with revision r4498. Jamis is spot on when he advises to take out the \A and \Z from the regexp. Nicholas adds ":game => /[a-z]+/ routes should interpret this as \A[a-z]+\Z. There for ^, \A, \Z, and $ inside regexp captures for requirements is not required, and should not be allowed". Francois then sugges...