Forum: Ruby on Rails scaffold and Migrations

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Brian B. (Guest)
on 2006-03-01 18:38
(Received via mailing list)
After adding Migrations to my Rails app (they seem terrifc) when I run,
say,

ruby script/generate scaffold City

I am getting a dependency model error "Another migration is already
named
add_cities: db/migrate/001_add_cities.rb"

Model City is already in my app and when I run this scaffold generator
I'm
not intending to be touching any of the migration stuff.

What causing this error and what's the fix?  Thanks.

Brian
This topic is locked and can not be replied to.