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

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -