This project is archived and is in readonly mode.

#265 ✓stale
Robert Ehteshamzadeh

incorrect capitalization of migration files when model name has all caps

Reported by Robert Ehteshamzadeh | May 28th, 2008 @ 03:10 PM

C:\dummyproj>ruby script/generate model ALLCAP field1:string

exists app/models/

exists test/unit/

exists test/fixtures/

create app/models/allcap.rb

create test/unit/allcap_test.rb

create test/fixtures/allcaps.yml

create db/migrate

create db/migrate/001_create_allcaps.rb

C:\dummyproj>rake db:migrate

(in C:/dummyproj)

rake aborted!

uninitialized constant CreateAllcaps

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

Comments and changes to this ticket

  • josh

    josh July 17th, 2008 @ 02:03 AM

    • State changed from “new” to “stale”
    • Tag set to activerecord

    Closing this ticket as stale. If this is still an issue for you, feel free to reopen this ticket or create a new one with an updated description. Remember those unit tests too ;)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Pages