diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-10-29 22:47:58 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-10-29 22:57:31 -0200 |
commit | 3525a9b5ebc87bbc9dca4b613b6d3740899190bb (patch) | |
tree | ae4b7db94cefe6add402550059cf52ed0b22a0ce /activerecord/test/cases/validations_test.rb | |
parent | a4ac2b4d0a56ae2221b90314df1f806cb9ef9192 (diff) | |
download | rails-3525a9b5ebc87bbc9dca4b613b6d3740899190bb.tar.gz rails-3525a9b5ebc87bbc9dca4b613b6d3740899190bb.tar.bz2 rails-3525a9b5ebc87bbc9dca4b613b6d3740899190bb.zip |
Fix bug when Column is trying to type cast boolean values to integer.
This can occur if the user is using :integer columns to store boolean
values. Now we are handling the boolean values but it still raises if
the value can't type cast to integer and is not a boolean. See #7509.
Fixes #8067.
Conflicts:
activerecord/CHANGELOG.md
Diffstat (limited to 'activerecord/test/cases/validations_test.rb')
0 files changed, 0 insertions, 0 deletions