diff options
author | Vipul A M <vipulnsward@gmail.com> | 2017-06-12 20:07:23 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-12 20:07:23 +0530 |
commit | 42a80721938453a2ecbba204ce21a0d496756178 (patch) | |
tree | 9b7acbf052cd35e5384e65dee13028150028d7b6 | |
parent | 981841192b4f69d7499cca2200e3daa6f5530304 (diff) | |
parent | de7bc3188160f6ceb943b30a0f8603c4b447a7d3 (diff) | |
download | rails-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.rb | 3 |
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 |