Trying to solve problem with updating. Turns out it is Sqlite3 problem/bug. It represents true and false as 1 and 0, but allows rails to put in boolean column values 't' and 'f' which is default for PostgreSql. And mapper seems to interpret it both as true. I have tried monkey patching as suggested on stackoverflow, but it is still not working. Now project is a mess and needs cleanup. Probably I will start using some integer constants for true and false, and integer column