Skip to content

Commit

Permalink
remove require statement
Browse files Browse the repository at this point in the history
zeitwerk can successfully load the railtie class since it follows
conventions.
  • Loading branch information
yawboakye committed Sep 2, 2024
1 parent 1429f1d commit fcaa2d6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions railties/lib/rails/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ module Rails
# end
# end
#
# # lib/my_gem.rb
# require "my_gem/railtie" if defined?(Rails::Railtie)
#
# == Initializers
#
# To add an initialization step to the \Rails boot process from your railtie, just
Expand Down

0 comments on commit fcaa2d6

Please sign in to comment.