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

problems with fixtures when working with Testing

I followed the video "Fixtures" in Test section in Building a simple Ruby on Rails application series. When working with fixtures I got the following message

''' ActiveRecord::StatementInvalid: SQLite3::SQLException: table users has no column named password '''

I've followed the Teacher's note by removing password and password_confirmation lines and it worked. However, could anyone explain how and why it works? Just wanna make it clear, thanks!!!

1 Answer

Check that your indentation is set on 2 spaces. In sublime text you can check this at the bottom of the window. Let me know if that helps.