Unit 1, Lesson 1: Authentication 3/12


The directions say:

Open the migration file in db/migrate/ for the users table and add:

a string column called first_name
a string column called last_name
a string column called email
a string column called password_digest

I haven;t done Rails in years and I forgot how to do this. Any help?


Hi @popmatrix,

The course should have told you how to do this, but here's how you'd do it:



I tried "db/migrate.STRING :first_name " and it didn't work. What am I
doing wrong?



  1. Use t instead of db/migrate right there
  2. Lowercase string


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.