I had the same problem. It was a problem with scaffold-
The scaffold was creating in the migration file statements of the
form:
t.string, :title
which should be
t.string :title
The developers have probably fixed it by now. This is just fyi for
other people encountering this problem.
Cheers
This isn’t a bug–it’s an operator error. If you are thinking Ruby
instead of shell, you might end up doing this at the command line:
rails generate scaffold User name:string, email:string
instead of this:
rails generate scaffold User name:string email:string
The comma gets incorporated into the migration, and the migration bombs
because of it.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.