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,
Dhruva Sagar.
Pablo Picassohttp://www.brainyquote.com/quotes/authors/p/pablo_picasso.html
- Computers are useless. They can only give you
2009/8/31 Xxx Yyy rails-mailing-l...@andreas-s.net:
Hi,
I am doing my first steps with RoR and I have the following problem:
I execute my migration file with the following content on a
MySQL-database via Rake:
code
class CreateUsers ActiveRecord::Migration
def self.up
Thank you very much for your quick answers!
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
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
3 matches
Mail list logo