Forum: Ruby on Rails How to save new record into DB after set_primary_kay and rem

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Vince W. (Guest)
on 2006-01-06 21:57
(Received via mailing list)
Hi,

I'm new in ruby and rails. I tried to set_primary_kay and remove id from
a table, but can not save new records into db because of the validation
and the _before_type_cast .

Tried to find help on the web but did not get it.

Pleas help. Thanks lot.
Vince
This topic is locked and can not be replied to.