2

I've been using rails for a while and have used restful_authentication for user logins for the past few years. However this doesnt seem to be getting maintained any more, so was thiking it is time to move to another plugin.

Does anyone have any suggestiosn on what I should be using / is the most popular these days.

Only requirments I have are

  • It needs to work with rails 3
  • It needs to work with a model called Client instead of the standard User model.

Thanks, Jon

Jon Morgan
  • 55
  • 4

3 Answers3

3

Checkout Devise, it's still maintained and there are a lot of support resources out there. It also has extendable plugins, so you can authenticate with Twitter, Facebook, or really any OAuth2 solution

Here are a few:

vrish88
  • 20,047
  • 8
  • 38
  • 56
1

Have a look at Devise:

http://github.com/plataformatec/devise

apneadiving
  • 114,565
  • 26
  • 219
  • 213
0

Jon,

If you decide to go with Devise, note that you can manually override the default user class during installation. (The default is "User".) IMHO you're correct in that Devise seems to generally be maintained more, especially compared to restful_authentication. If you're torn between the two for your Rails 3 app, I'd recommend giving Devise a shot first.

Preston Lee
  • 584
  • 1
  • 4
  • 10