Generating a model
On page 122 (Simply Rails 2), when I run: script/generate model Story name:string link:string, it creates all of the necessarry files, but, instead of it creating: db/migrate/001_create_stories.rb, it creates: db/migrate/20090522522_create_stories.rb
As you can see, it is using the date instead of "001". is this just standard in the latest rails, or is there something wrong?
No that's normal. The migration name changed to using the date and time a little while back. The change happened after the book was released. If you use an earlier version of Rails, you'd get the older 001 format. The newer form works just the same, and you can even use them along side migrations that have the old format.