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

Austin Klenk
Austin Klenk
4,399 Points

Rails Authorization before App?

I'm trying to decide whether to, configure the authentication system with multiple roles and a separate devise model for customers logging in. My question is should I get the auth system done first or get the rest of the app done first?

1 Answer

In my experience it is best to add auth when its needed. For example if I'm going to make a blog, it doesn't make sense to add authorization to post comments before I can even test the functionality of adding comments.