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 trialBob Finkle
2,787 PointsStandardError: An error has occurred, this and all later migrations canceled: undefined method `referances'
When I run bin/rake db:migrate I get the error above. My code is here: https://github.com/perpetualmultimedia/testApp Last time I asked a question on here it was a spelling error, so I spent hours looking this over. Hopefully thats not the case this time. Thanks.
3 Answers
Maciej Czuchnowski
36,441 PointsThe error explicitly tells you - it's a typo again I'm afraid :) "referances" in 20150403193030_create_todo_items.rb - line 4. Change it to "references".
missfit
18,561 PointsThanks you!! I had the same spelling error that wouldn't allow my code to run.
Bob Finkle
2,787 PointsSo, I am very quickly understanding that I have trouble learning from videos because of my lack of phonics. Haha. No problem. The good news is I am learning from a bunch of new books and I am now extremely confident in my ability to navigate through this language better and hopefully without spelling errors. Haha.