Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.