Skip to content

Commit

Permalink
Update configuration.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
dhh committed Jan 1, 2024
1 parent 5409a89 commit 47e453c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/lib/rails/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def after_generate(&block)
@after_generate_callbacks << block
end

def apply_autocorrect_after_generate!
def apply_rubocop_autocorrect_after_generate!
after_generate do |files|
parsable_files = files.filter { |file| file.end_with?(".rb") }
unless parsable_files.empty?
Expand Down

0 comments on commit 47e453c

Please sign in to comment.