search for: oldsystem_id

Displaying 1 result from an estimated 1 matches for "oldsystem_id".

2006 Apr 19
1
Model.create ignores id attribute
Hello all, I''m inserting records from another system and it looks something like this: Model.create :id=>123, :name=>"asdf" I noticed that the id attribute is ignored (the database will automatically assign an auto_increment id starting from 1). I remember reading about this before: iirc this is done so that you can easily fill in model information from forms, but I