Vince Wang
2006-Jan-06 19:55 UTC
[Rails] How to save new record into DB after set_primary_kay and remove id?
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
Seemingly Similar Threads
- Questions regarding plugin version
- newbie q on displaying a db field value in the view
- View change on db field change
- when i save, rails doesnt update the model instance with the id of the new record
- How to get which check boxes has beed unchecked and remove Subscription for them?