This was a very awesome tutorial, but I fumbled around a bit with adding in the username. It worked when I manually updated the db fron the console, but it didn't work when I tried to create a new account. Needed to add this to /models/users.rb:
# Setup accessible (or protected) attributes for your model
attr_accessible :email, :username, :password, :password_confirmation
For any rookies out there like me, don't forget to add :username to this line. :-)
Ryan Bates - You rock! Worked awesome locally and on Heroku.
Just a quick note:
This was a very awesome tutorial, but I fumbled around a bit with adding in the username. It worked when I manually updated the db fron the console, but it didn't work when I tried to create a new account. Needed to add this to /models/users.rb:
# Setup accessible (or protected) attributes for your model
attr_accessible :email, :username, :password, :password_confirmation
For any rookies out there like me, don't forget to add :username to this line. :-)
Ryan Bates - You rock! Worked awesome locally and on Heroku.