Changed everything to integer, Rails acts the same. Updates value in database, but mapped doesn't care. I have no idea what to do next, perhaps recreate field, maybe something is corrupted now.