Ruby on rails tutorial chapter 10...account activation not matching route -


trying go through ruby on rails tutorial on chapter 10. have pretty decent understanding of routing far. here issue: account activations send token email performs hash on , tries verify (after link clicked). have route set /account_activations/:id/edit

and url sending: account_activations/$2a$10$gtxhcostrwnvmdmwawljk.wm1xgnicwxupkymin5orqvwrib%2ftnxy/edit?email=me%40gmail.com

i have verified hash correct in several different testing scenarios. tells me cannot find route it. quoting closest thing (in terms of priority) as:

edit_account_activation_path    /account_activations/:id/edit(.:format) account_activations#edit 

the path in routes.rb looks like: resources :account_activations, only: [:edit]

looks me should match though :id should act wildcard string. if needs more info let me know. understand why isn't working. thanks.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -