diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2012-05-19 23:52:22 -0700 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2012-05-19 23:55:11 -0700 |
commit | 0d73d6e7b6dd1900f105397460b777ef6c03d3b6 (patch) | |
tree | ba68b542c53fc300e2e744e212cec4a73253f1ee /activerecord/lib/active_record/timestamp.rb | |
parent | f7d01ecf753ab8db3ba1b0a10586590b0855a31a (diff) | |
download | rails-0d73d6e7b6dd1900f105397460b777ef6c03d3b6.tar.gz rails-0d73d6e7b6dd1900f105397460b777ef6c03d3b6.tar.bz2 rails-0d73d6e7b6dd1900f105397460b777ef6c03d3b6.zip |
Fix uniqueness validator with `allow_nil: false` also for mysql
MySQL's adapter was changing value for case sensitive comparison. We
don't need to do it for `nil`.
Diffstat (limited to 'activerecord/lib/active_record/timestamp.rb')
0 files changed, 0 insertions, 0 deletions