Fixes validation for magic columns

`only_integer: :true` causes  `NoMethodError: undefined method 'true' for #<User>` in Rails 4.2.0.beta.