diff options
author | Josh Goodall <inopinatus@inopinatus.org> | 2019-07-17 15:18:54 +1000 |
---|---|---|
committer | Josh Goodall <inopinatus@inopinatus.org> | 2019-07-17 16:11:57 +1000 |
commit | b19150448bcf65362c34b5a741ce162cd2b79216 (patch) | |
tree | 19eac18ee91b8ac284163b79df74af5d25c7d22b /activesupport/test/evented_file_update_checker_test.rb | |
parent | 32e5f9049c3ef626c9ba7b643c06b09b1ca8f6c1 (diff) | |
download | rails-b19150448bcf65362c34b5a741ce162cd2b79216.tar.gz rails-b19150448bcf65362c34b5a741ce162cd2b79216.tar.bz2 rails-b19150448bcf65362c34b5a741ce162cd2b79216.zip |
Support beginless ranges in hash conditions.
Ruby 2.7 introduces beginless ranges (..value and ...value) and as with
endless ranges we can turn these into inequalities, enabling expressions
such as
Order.where(created_at: ..1.year.ago)
User.where(karma: ...0)
Diffstat (limited to 'activesupport/test/evented_file_update_checker_test.rb')
0 files changed, 0 insertions, 0 deletions