Rails Postgres String To Integer Cpp Dates 2024