Replace numeric format with database true value for activeRecord bind