jeudi 1 octobre 2015

Upgrade gem restful_authentication and role_requirement to rails 3.2

I am upgrading an old Rails application to Rails 3.2. I will have to upgrade it to Rails 4 (and 5 !) in the future.

I don't know what to do with this two plugins, restful_authentication (http://ift.tt/VhgW2m) and role_requirement (http://ift.tt/1P7s3rv).

I have red a lot of discussions about restful_authentication with Rails 3. Do I have to use Device or Authlogic instead of restful_authentication (upgrade to Device seems to be not so difficult). But what about role_requirement ? Is it compatible with Device ? Is there another gem to use ? Gem like CanCan have operating mode very different from role_requirement, and I would like to not rewrite all the code...

Do you have any advice ? Thanks

Aucun commentaire:

Enregistrer un commentaire