Skip to content

Commit 6a60514

Browse files
authored
Merge pull request #1169 from biow0lf/fix-typo
Fix typos
2 parents 27ec210 + f9cf076 commit 6a60514

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ module YourCoolApp
8282
end
8383
```
8484

85-
It uses `rubocop -A` to apply `Style/FrozenStringLiteralComment` and other unsafe autocorretion cops.
85+
It uses `rubocop -A` to apply `Style/FrozenStringLiteralComment` and other unsafe autocorrection cops.
8686
`rubocop -A` is unsafe autocorrection, but code generated by default is simple and less likely to
8787
be incompatible with `rubocop -A`. If you have problems you can replace it with `rubocop -a` instead.
8888

docs/modules/ROOT/pages/cops_rails.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ The cop is configurable and can enforce the use of the older
108108
something_filter methods or the newer something_action methods.
109109

110110
IMPORTANT: This cop is deprecated. Because the `*_filter` methods were removed in Rails 4.2,
111-
and that Rals version is no longer supported by RuboCop Rails. This cop will be removed in RuboCop Rails 3.0.
111+
and that Rails version is no longer supported by RuboCop Rails. This cop will be removed in RuboCop Rails 3.0.
112112

113113
=== Examples
114114

docs/modules/ROOT/pages/usage.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ end
3434
== Rails configuration tip
3535

3636
If you are using Rails 6.1 or newer, add the following `config.generators.after_generate` setting to
37-
your config/application.rb to apply RuboCop autocorretion to code generated by `bin/rails g`.
37+
your config/application.rb to apply RuboCop autocorrection to code generated by `bin/rails g`.
3838

3939
[source,ruby]
4040
----
@@ -50,6 +50,6 @@ module YourCoolApp
5050
end
5151
----
5252

53-
It uses `rubocop -A` to apply `Style/FrozenStringLiteralComment` and other unsafe autocorretion cops.
53+
It uses `rubocop -A` to apply `Style/FrozenStringLiteralComment` and other unsafe autocorrection cops.
5454
`rubocop -A` is unsafe autocorrection, but code generated by default is simple and less likely to
5555
be incompatible with `rubocop -A`. If you have problems you can replace it with `rubocop -a` instead.

lib/rubocop/cop/rails/action_filter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module Rails
99
# something_filter methods or the newer something_action methods.
1010
#
1111
# IMPORTANT: This cop is deprecated. Because the `*_filter` methods were removed in Rails 4.2,
12-
# and that Rals version is no longer supported by RuboCop Rails. This cop will be removed in RuboCop Rails 3.0.
12+
# and that Rails version is no longer supported by RuboCop Rails. This cop will be removed in RuboCop Rails 3.0.
1313
#
1414
# @example EnforcedStyle: action (default)
1515
# # bad

0 commit comments

Comments
 (0)