RubyFlow The Ruby and Rails community linklog

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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in