Ruby on Rails
Friday, November 21, 2014
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 : gopi170987@gmail.com
On Fri, Nov 21, 2014 at 9:42 PM, Darko Vulin <darkopmfst@gmail.com> wrote:
--I have done bundle install and bundle update. Here is my [timestamp]_create_users.rbclass CreateUsers < ActiveRecord::Migrationdef changecreate_table :users do |t|t.strig :namet.string :emailt.timestamps null:falseendendendpiga@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/Workspace/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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
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.
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAPDEix%2BOez2MGU00LeqsR%2BrxQhF9PDAdN6kU6rn2ENmLTgTv6Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment