You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using doorkeeper will cause ActiveRecord to be loaded before Rails' own new_framework_defaults.rb. It seems that it's not 'safe' to load AR models in an initializer and that such things should be deferred until later using ActiveSupport.on_load(:active_record).
The text was updated successfully, but these errors were encountered:
See this issue: rails/rails#23589
Using doorkeeper will cause ActiveRecord to be loaded before Rails' own
new_framework_defaults.rb
. It seems that it's not 'safe' to load AR models in an initializer and that such things should be deferred until later usingActiveSupport.on_load(:active_record)
.The text was updated successfully, but these errors were encountered: