Forum: Ruby on Rails Write a Primary Key in Create

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Robert McGinley (Guest)
on 2006-06-13 16:36
I do not want my one of my primary keys to be automaticlly
incremented/created by the database.  I want to let the user enter it
(unique still) so it can be accessed easily across the db.  I was
wondering how i can do this (right now it won't let me and passes a null
to the pk creating an error)
This topic is locked and can not be replied to.