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 User Authentication with Rails Password Hashing and Sign In Using has_secure_password

Field labels

I have just completed the tutorial thus far and all is working fine. But I have a question. Jason had an error with his labels for first name and he added the correct capitalised First Name and Last Name and it passed. What i don't understand is, by the same token, why did he not add "Email" and "Password" to the form labels too......after all, the registration spec is specifying

fill_in "First Name", with: "Jason"
fill_in "Last Name", with: "Seifer"
fill_in "Email", with: "jason@teamtreehouse.com"
fill_in "Password", with: "treehouse1234"
fill_in "Password (again)", with: "treehouse1234"
click_button "Sign Up"

I don't get why and error is thrown for Email etc.....

Many thanks

Simon