I am trying to create a user model. When I generate the script, rails
creates all the files though the migrate file should be labeled
001_create_users.rb. Instead the file has the date followed by some
other number and then _create_users.rb. Also it looks like the template
for the file is slightly off from what I was expecting.
class CreateUsers < ActiveRecord::Migration
def self.up
create_table :users do |t|
t.timestamps
end
end
def self.down
drop_table :users
end
end