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 trialMatthew Bell
228 PointsJust installed devise, but I think I broke something along the way. My app is no longer working. How do I troubleshoot?
3 Answers
Geoff Parsons
11,679 PointsLooks 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
228 PointsThanks 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
Geoff Parsons
11,679 PointsLooks like you just need to run migrations like it says:
rake db:migrate
Matthew Bell
228 Pointsbrilliant. Looks like I'm back on track! thanks
Geoff Parsons
11,679 PointsGlad you were able to get it sorted. Good luck!