Forum: Ruby on Rails scaffold and Migrations

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and 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,

ruby script/generate scaffold City

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

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

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

This topic is locked and can not be replied to.