diff options
author | Andrew White <andrew.white@unboxedconsulting.com> | 2015-09-21 12:59:00 +0100 |
---|---|---|
committer | Andrew White <andrew.white@unboxedconsulting.com> | 2015-09-21 12:59:00 +0100 |
commit | b3eac823006eb6a346f88793aabef28a6d4f928c (patch) | |
tree | 0eb74be3a0cc442623aa57aefea13439635bad8b /activerecord/test/cases/quoting_test.rb | |
parent | cd2c0adb8aad6fef44025ea97f67cb9e21e52dcf (diff) | |
download | rails-b3eac823006eb6a346f88793aabef28a6d4f928c.tar.gz rails-b3eac823006eb6a346f88793aabef28a6d4f928c.tar.bz2 rails-b3eac823006eb6a346f88793aabef28a6d4f928c.zip |
Short-circuit `blank?` on date and time values
The concept of a blank date or time doesn't make sense so we can short
circuit the calls for `blank?` on these classes to gain small speed boost.
Fixes #21657
Diffstat (limited to 'activerecord/test/cases/quoting_test.rb')
0 files changed, 0 insertions, 0 deletions