db:migrate

I have done bundle install and bundle update. Here is my [timestamp]_create_users.rb

class CreateUsers < ActiveRecord::Migration

def change

create_table :users do |t|

t.strig :name

t.string :email

t.timestamps null:false

end

end

end

piga@PIGA-PC ~/Workspace/sample_app (modeling-users)

$ bundle exec rake db:migrate

== 20141121153548 CreateUsers: migrating ======================================

– create_table(:users)

rake aborted!

StandardError: An error has occurred, this and all later migrations canceled:

undefined method `strig’ for #ActiveRecord::ConnectionAdapters::TableDefinition:0x3740c10C:/Users/piga/Worksp

ace/sample_app/db/migrate/20141121153548_create_users.rb:4:in `block in change’

C:/Users/piga/Workspace/sample_app/db/migrate/20141121153548_create_users.rb:3:in `change’

c:in `migrate’

Tasks: TOP => db:migrate

t.string is written as t.strig:name