You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
# Set or retrieve whether replicated object should keep its original id.# When not set, replicated objects will be created with new id.defreplicate_id(boolean=nil)self.replicate_id=booleanunlessboolean.nil?@replicate_id.nil? ? superclass.replicate_id : @replicate_idend# Set flag for replicating original id.defreplicate_id=(boolean)self.replicate_natural_key=[:id]ifboolean@replicate_id=booleanend
In database setups where the primary key is set to auto_increment, it excludes the id when loading the object into the database.
but no trace of id (item's primary key)
The text was updated successfully, but these errors were encountered: