Piyush Awasthi
Piyush Awasthi

Reputation: 378

migrate restful-authentication in rails 4

I want to migrate Rails 2 app to Rails 4. I have successfully migrated in Rails 3. Now I have a big problem with restful-authentication. It's not working for rails 4 so I need to migrate in devise but I don't want any changes with thousands of existing users.

Is it better to migrate in devise or is there some other alternative for restful-authentication?

Upvotes: 2

Views: 331

Answers (1)

Arctodus
Arctodus

Reputation: 5847

restful_authentication is no longer being maintained so I recommend migrating to an alternative like devise. With a bit of configuration you can set up devise to work with the passwords that have been encrypted through restful_authentication. There's guide on their github page on how to do it: https://github.com/plataformatec/devise/wiki/How-To:-Migrate-from-restful_authentication-to-Devise

Upvotes: 1

Related Questions