Skip to content

Commit

Permalink
Remove an example which contradicts other guidelines
Browse files Browse the repository at this point in the history
  • Loading branch information
aeroastro committed Sep 6, 2023
1 parent a451ad1 commit 14935f2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1866,11 +1866,9 @@ Use an instance of `ActiveSupport::Duration` as a receiver to calculate relative
----
# bad - It's confusing to read
created_at.since(1.minute)
expiration_date.ago(3.days)
# good
1.minute.since(created_at)
3.days.ago(expiration_date)
----

== Bundler
Expand Down

0 comments on commit 14935f2

Please sign in to comment.