Devise for authentication … niiiiiice …

In the spirit of retraining myself this summer I was skimming Ryan Bates’ RailsCasts site and I saw an authentication solution, Devise. This is perfect because right now I’ve been trying to figure out what to do about logging users in. I’ve been using home-grown solutions for a while and I’ve seen good things about Authlogic. But Devise, wow. Talk about awesome.

One of the things I’m really liking about it is its modular configuration. Want the user to confirm their new account? No prob, just enable the :confirmable module in your user model. Want Devise to generate the basic views for you? Sure, just run the generator: rails generate devise:views. (You might have to use script/generate devise_views for Rails 2.3.) It’s seriously awesome.

See the RailsCast that talks about it http://railscasts.com/episodes/209-introducing-devise or the GitHub for the project: http://github.com/plataformatec/devise.

Leave a Reply