As pointed by the Rails documentation, creating Railties should explicitly ensure that Rails::Railtie is defined.
There could be non-rails application use-cases where Rails is defined, yet Rails::Railtie is not loaded.
We looked into how to add a new test for this use-case but couldn't figure a simple way to load Rails without Railtie. Any idea how to do it? Or are we happy with the change without test?
As pointed by the Rails documentation, creating Railties should explicitly ensure that
Rails::Railtie
is defined.There could be non-rails application use-cases where
Rails
is defined, yetRails::Railtie
is not loaded.We looked into how to add a new test for this use-case but couldn't figure a simple way to load Rails without Railtie. Any idea how to do it? Or are we happy with the change without test?