Forum: Ruby on Rails HELP: rake db:migrate -> uninitialized constant

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.
B199c6556fec872d272086be15c5e4ab?d=identicon&s=25 Robert La ferla (rlaferla)
on 2007-07-10 19:32
(Received via mailing list)
Why is this error happening?  I am using Rails 1.2.3.

./script/generate model MyNewModel
      exists  app/models/
      exists  test/unit/
      exists  test/fixtures/
      create  app/models/my_new_model.rb
      create  test/unit/my_new_model_test.rb
      create  test/fixtures/my_new_models.yml
      exists  db/migrate
      create  db/migrate/010_my_new_models.rb
% rake db:migrate
(in /tmp)
rake aborted!
uninitialized constant MyNewModel

(See full trace by running task with --trace)

% rails --version
Rails 1.2.3
A887cc76c61e1f4148caacb5f32361d6?d=identicon&s=25 jparker (Guest)
on 2007-07-11 18:06
(Received via mailing list)
Try re-running the migration with the --trace option. It will dump a
strack trace along with the error message showing you (or us if you
post the output here) exactly where the migration is choking.

This topic is locked and can not be replied to.