Skip to content

How to: upgrade to devise 2.1

josevalim edited this page May 29, 2012 · 13 revisions

How to upgrade to Devise 2.1

Deprecations added on 2.0 are now removed

If you run your application with Devise 2.0 and have solved all the deprecations, you're good to go with Devise 2.1. If you are not on Devise 2.0, migrate first to 2.0 before running on 2.1.

Encryptable now is in a gem

If you're using encryptable on your models, you will now have to include devise-encryptable on your gemfile.

Sign out through JSON or XML format now returns a contentless header

Now the sign_out through JSON or XML returns a contentless response instead of a response with an empty body.

Clone this wiki locally