We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4464181 + cdbe691 commit fd14e47Copy full SHA for fd14e47
lib/rubocop/cop/rails/date.rb
@@ -12,10 +12,10 @@ module Rails
12
# The cop also reports warnings when you are using `to_time` method,
13
# because it doesn't know about Rails time zone either.
14
#
15
- # Two styles are supported for this cop. When `EnforcedStyle` is 'strict'
+ # Two styles are supported for this cop. When `EnforcedStyle` is `strict`
16
# then the Date methods `today`, `current`, `yesterday`, and `tomorrow`
17
# are prohibited and the usage of both `to_time`
18
- # and 'to_time_in_current_zone' are reported as warning.
+ # and `to_time_in_current_zone` are reported as warning.
19
20
# When `EnforcedStyle` is `flexible` then only `Date.today` is prohibited.
21
0 commit comments