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:0x3740c10>C:/Users/piga/Worksp ace/sample_app/db/migrate/20141121153548_create_users.rb:4:inblock in
change’
C:/Users/piga/Workspace/sample_app/db/migrate/20141121153548_create_users.rb:3:in
change' c:inmigrate’
Tasks: TOP => db:migrate

t.string is written as t.strig:name

Best Regards,

Gopinath M

Ruby on Rails Developer

Contact : +91-9994652146 / +91-9791103743

Skype Id : gopinath.murugan

Email : [email protected]