Rails 6 adds before? and after? methods to Date, DateTime, Time, and TimeWithZone.
Rails 6 adds before? and after? methods to Date, DateTime, Time, and TimeWithZone. Its now more readable when compare date and times. Read more here: https://blog.saeloun.com/2019/03/01/rails-6-before-and-after-for-date-and-time.html
Post a comment