Ruby on Rails


#1

Hi, I don’t get how to create a table in the database. I tried this, but it didn’t work. I’m kind of a noob at ruby on rails.

create_table :users do |t|
t.first_name :string
t.last_name :string
t.email :string
t.password_digest :string
t.timestamps
end