Devise Password Changable

Extension for devise to provide password change without using registerable module.

Installation for Rails 3

Add line below to your Gemfile:

gem 'devise_password_changable'

and run bundle.

In your custom User model in devise block add:

password_changable

so, it’ll look like this:

devise :database_authenticatable, :recoverable, :trackable, :password_changable

Now, password change is available to your users, so they can visit e.g. path yourapp.com/users/password_change and change their password.

Customizing

You can customize view “devise-way” if you are using scoped_views, by creating your own, customized show view file:

app
  views
    users
      change_passwords
        show.html.erb

ToDo

Write some tests with test_app…

Contributing to devise_password_changable

Copyright © 2011 Szymon Fiedler. See LICENSE.txt for further details.