I''m using Windows XP SP2, Ruby 1.8.6 patch 111, Rails 1.2.3 When ever I run $ruby script/generate model someModel or $ruby script/generate migration someMigration I get migration files that are always prefixed with 001 instead of incrementing with each new migration creation. Any suggestions would be appreciated :D --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
omg, I feel like such an ass. I spent hours digging through the rails source printing out variables and hard coding strings, which eventually showed me that @mirgation_directory is relative from where you run the generator. Since I has cd''d into myapp/script it was looking for db/migrate inside of myapp/script. So to any newbies out there who run into this problem stay in your app root directory when calling the generate script. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---