I've followed the instructions here:
http://github.com/plataformatec/devise/wiki/How-to-edit-user-form-without-current-password
But it seems to ignore that and still validate and require current pa开发者_开发百科ssword.
In fact, I can do whatever I want to app/controllers/registrations_controller.rb including putting tonnes of syntax errors in, and it still asks for the current password to be present.
What am I missing?
Hard to quess, as you pasted no code, but it looks like you need to point devise to a different controller:
devise_for :user, :controllers => { :sessions => "..." }
精彩评论