This project is archived and is in readonly mode.
Bug with dirty models in integer fields
-
Frederick Cheung
I wonder if is related to this thread ? I assume the column is marked as being nullable
-
Frederick Cheung
- State changed from new to duplicate
What version of rails were you using ? I could reproduce this in 2.1.0 but not in 2.1.2 or 2.2.2 or edge.
This was definitely a problem in 2.1.0 but #433 Dirty doesn't track integers changing from 0 to null/1415df8f49a19d469b9e2c15785db32eb312c000 was designed to address that.
Please reopen if you are still getting this with 2.1.2/2.2.2/edge