After upgrading an application to Rails 6, I noticed the following
deprecation warning:
DEPRECATION WARNING: Initialization autoloaded the constants
ApplicationController
This appears to be due to the initializer requiring EmberController,
which shouldn't be necessary since that class is already in
app/controllers, which is autoloaded. Similarly EmberRailsHelper is
autoloaded and shouldn't need to be referenced here.
After upgrading an application to Rails 6, I noticed the following deprecation warning:
This appears to be due to the initializer requiring
EmberController
, which shouldn't be necessary since that class is already inapp/controllers
, which is autoloaded. SimilarlyEmberRailsHelper
is autoloaded and shouldn't need to be referenced here.