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 Build a Simple Ruby on Rails Application Creating an Authentication System Generating the User Model

Matthew Bell
Matthew Bell
228 Points

Just installed devise, but I think I broke something along the way. My app is no longer working. How do I troubleshoot?

3 Answers

Looks like a typo in config/environments/development.rb. The error is "undefined local variable or method 'onfig'" which i assume was meant to be "config".

Matthew Bell
Matthew Bell
228 Points

Thanks Geoff. I found the typo, but looks like something else broke in the process. I was in the middle of installing devise when everything fell apart. http://www.screencast.com/t/yOMooug5oypK

Looks like you just need to run migrations like it says:

rake db:migrate
Matthew Bell
Matthew Bell
228 Points

brilliant. Looks like I'm back on track! thanks

Glad you were able to get it sorted. Good luck!