File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ module YourCoolApp
8282end
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
8787be incompatible with `rubocop -A`. If you have problems you can replace it with `rubocop -a` instead.
8888
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ The cop is configurable and can enforce the use of the older
108108something_filter methods or the newer something_action methods.
109109
110110IMPORTANT: 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
Original file line number Diff line number Diff line change 3434== Rails configuration tip
3535
3636If 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
5050end
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
5555be incompatible with `rubocop -A`. If you have problems you can replace it with `rubocop -a` instead.
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments