diff options
author | Tarmo Tänav <tarmo@itech.ee> | 2008-08-15 18:39:11 +0300 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-08-15 15:44:11 -0700 |
commit | e3523f1d33c3cf53f1a65e520be5e937e9c68c1d (patch) | |
tree | 4133486e17e4cafb88225bf86a8a1ee9efaf9730 /activemodel | |
parent | aad7cac6add2fa01cebbb36e9f546292d632c9ea (diff) | |
download | rails-e3523f1d33c3cf53f1a65e520be5e937e9c68c1d.tar.gz rails-e3523f1d33c3cf53f1a65e520be5e937e9c68c1d.tar.bz2 rails-e3523f1d33c3cf53f1a65e520be5e937e9c68c1d.zip |
Fixed validates_uniqueness_of with decimal columns
Only use special case-sensitive comparison operators for text columns in
validates_uniqueness_of as mysql can fail at decimal comparisons with
the BINARY operator.
Diffstat (limited to 'activemodel')
0 files changed, 0 insertions, 0 deletions