Gladwright wrote in post #709136:
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.

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedOct 12, '11 at 2:25p
activeOct 12, '11 at 2:25p
posts1
users1
websiterubyonrails.org
irc#RubyOnRails

1 user in discussion

Paul A.: 1 post

People

Translate

site design / logo © 2022 Grokbase