-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 If I run the below code I do not get a primary key set on my "pkey" field. Shouldn't I?
ActiveRecord::Schema.create_table( :articles_without_id, :id=>false, :primary_key=>:pkey ) do |t| t.column :pkey, :serial t.column :title, :string end If I let ActiveRecord create 'id' for me it does. I'm guessing this is a bug.. if someone can validate I'll post a ticket and try get a patch ready. Zach -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFck4GMyx0fW1d8G0RArDKAJ9GoFYvh2OJ4RuyVOdAot9Z0F7EDACeOZBd i1kwyrXp/XdhMOO5HqZp+ZI= =1HhK -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
