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: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

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/b1814c84-6da9-4fb5-b406-81d0be3bd472%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to