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
Tony McCabe
8,445 PointsAdd the first name, last name, and profile_name to the list of attributes in attr_accessible.
Code challege 1of1 Where to put all the information:
attrssible :email, :password, :password_confirmation, :firstname, :lastname, :profile_name
5 Answers
Alan Johnson
7,625 PointsIt looks like you'd want to do something like:
attr_accessible :email, :password, :password_confirmation, :first_name, :last_name, :profile_name
Tony McCabe
8,445 PointsPdate the variable of 'quickLower' on about line 23, to the lowercased version of the string 'quick'. var quickLower = quick.toLowCase(); var quickLower = quick.toLowCase('quick')
Tony McCabe
8,445 PointsWhat wrong with the problem above?
Alan Johnson
7,625 PointsI'm not sure that I understand what you're asking here. Can you break down your question a little more?
Joseph Agunbiade
Courses Plus Student 1,905 PointsMine is generating lot of error message when i input this line of code.
guilliatt
10,743 Pointsguilliatt
10,743 PointsAlan, this doesn't actually work for me, despite that being correct - it could be a bug now given updated versions? I found that installing the gem 'protected_attributes' was the only way to overcome this in creating the Treebook application. The error messages returned via the Code Challenge imply it could be the same issue in the background?