Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Gem for user authentication in ruby course

Any one know the gem that was used for the users authentication on the ruby course for creating a facebook like app? Can't figure it out lol

2 Answers

Well I don't know which one but I know omniauth is very popular - I was hoping they would 'roll their own' because it's always better to know how to do your own.

Brandon Barrette
Brandon Barrette
20,485 Points

It's Devise.

https://github.com/plataformatec/devise

However, User Authentication with Rails is a course which has you creating your own, which I suggest you do, because while Devise is nice, as soon as you need to customize it, you run into many issues.

http://teamtreehouse.com/library/user-authentication-with-rails