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 Writing Tests Fixtures

Fixtures users.yml should not include password

I notice that in the video show us to insert profile information which included password and password_confirmation, and yet this will hit the error of no password in the table.

I find out that after the video hit error and turn to users.yml page, the password and password_confirmation in users.yml is removed.

To those study this video, please remove password and password_confirmation from users.yml fixture and the test will go through.

Thanks

Jack McDowell
Jack McDowell
37,797 Points

Thanks! A year later this still helped!