On Nov 1, 2:57 am, Everaldo Gomes <[email protected]> wrote: > Hi! > > Try this: > > match ':/:token' => 'users#new' , constraints => { :token => > /[a-zA-Z0-9]{8}/ } > > There is \w in regexp that means letter, number and underscore (accordlying > rubular.com) , but I don't know if your token accepts underscores. >
No there are no underscores. only alphabets and numbers. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

