devise icon indicating copy to clipboard operation
devise copied to clipboard

route named user_session_new instead of new_user_session after bundle update

Open frankjmattia opened this issue 16 years ago • 5 comments

http://gist.github.com/548994

theres a clip of the first few lines of my rake routes output.

after my latest bundle update (tracking rails 3-0-stable & devise master) my app started getting weird errors saying undefined method new_user_session. after checking the output of rake routes it appears it has been renamed. I haven't updated my bundle in a week or two so I'm not sure when this crept in or what it is. Any input?

frankjmattia avatar Aug 25 '10 07:08 frankjmattia

Just created a test app using rc2 and the route was properly named however once I upgraded to 3-0-stable the route name became reversed. Hope this helps.

frankjmattia avatar Aug 25 '10 07:08 frankjmattia

I believe this has only happened for a day or so, after the release of RC2, the rails team changed the routes a bit more...

fredwu avatar Aug 25 '10 07:08 fredwu

I've started working on it on my fork: http://github.com/fredwu/devise I'll issue a pull request when I have time to make the tests pass. :)

fredwu avatar Aug 25 '10 07:08 fredwu

It is actually a change the rails core team did in routes.rb. I recommend you to use rails 3 rc2 gem for this while instead of the git repo.

josevalim avatar Aug 25 '10 09:08 josevalim

Release a new version (1.1.2) and updated git master.

josevalim avatar Aug 25 '10 11:08 josevalim