ID is a special field in rails, the migrations generate the ID field automatically, you don’t need to declare it within the migration.
Thanks & Regards,
Pablo Picasso - “Computers are useless. They can only give you answers.”
Keep up to date with Rails on Twitter and This Week in Rails
Policies: Conduct, License, Maintenance, Security, Trademarks