Displaying 1 result from an estimated 1 matches for "suggesiton".
Did you mean:
suggesion
2006 Feb 24
2
sqlite sets a new model''s id to 0 after a save
Example:
car = Car.new
car.id # is nil
car.save
car.id # is 0
I''m wondering if this is expected behavior, or something wrong with
what I''m doing. If it is not expected behaviour, how do I go about
solving it?