aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2017-06-12 20:07:23 +0530
committerGitHub <noreply@github.com>2017-06-12 20:07:23 +0530
commit42a80721938453a2ecbba204ce21a0d496756178 (patch)
tree9b7acbf052cd35e5384e65dee13028150028d7b6
parent981841192b4f69d7499cca2200e3daa6f5530304 (diff)
parentde7bc3188160f6ceb943b30a0f8603c4b447a7d3 (diff)
downloadrails-42a80721938453a2ecbba204ce21a0d496756178.tar.gz
rails-42a80721938453a2ecbba204ce21a0d496756178.tar.bz2
rails-42a80721938453a2ecbba204ce21a0d496756178.zip
Merge pull request #29289 from vergenzt/patch-1
Add note to Railtie docs to use unique filenames
-rw-r--r--railties/lib/rails/railtie.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/lib/rails/railtie.rb b/railties/lib/rails/railtie.rb
index 3476bb0eb5..eca8335559 100644
--- a/railties/lib/rails/railtie.rb
+++ b/railties/lib/rails/railtie.rb
@@ -103,6 +103,9 @@ module Rails
# end
# end
#
+ # Since filenames on the load path are shared across gems, be sure that files you load
+ # through a railtie have unique names.
+ #
# == Application and Engine
#
# An engine is nothing more than a railtie with some initializers already set. And since