mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Add note to Railtie docs to use unique filenames
The fact that the names need to be globally unique was not obvious to me, so I thought it'd be worth documenting. This not being clear was the cause of both ctran/annotate_models#468 and instructure/outrigger#1. [ci skip]
This commit is contained in:
parent
eb804ad5a7
commit
de7bc31881
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue