Closed casperisfine closed 4 years ago
In some corner cases the Rails class can be defined by some rails-something gems, even though you are not in a full Rails context.
Rails
rails-something
Because of this we updated the documentation to recommend checking for Rails::Railtie definition: https://github.com/rails/rails/commit/d50049bef8c1dd23634076c1e345ed7a1c50b75d
Rails::Railtie
In some corner cases the
Rails
class can be defined by somerails-something
gems, even though you are not in a full Rails context.Because of this we updated the documentation to recommend checking for
Rails::Railtie
definition: https://github.com/rails/rails/commit/d50049bef8c1dd23634076c1e345ed7a1c50b75d