devise undefined method `users_url' for RegistrationsController-Collection of common programming errors

I had the same problem, it looks a problem inside Devise (still present in master). The only solution I found was to go back to Devise 2.1.2 (I knew it was working because I used it in another project).

So to fix this problem you can put

gem 'devise', '2.1.2'

in your Gemfile and then re-install it with

rails generate devise:install

Hope it helps you while Devise’s team fixes it

Originally posted 2013-11-09 21:07:54.