Starting in Rails 5 you can also do this with dates!
will generate the SQL
SELECT `users`.* FROM `users` WHERE (`users`.`created_at` >= '2018-07-07 17:00:51')
Once Ruby 2.6 is released (December 25, 2018) you’ll be able to use the new infinite range syntax! Instead of
201..Float::INFINITYyou’ll be able to just write
201... More info in this blog post.
Date.tomorrow.. syntax is much more readable than some
Arel incantation including
gt. I’ll actually remember this compared to the