Skip to content

Draft: Do not autoload classes that connect to DB during routes loading

Thong Kuah requested to merge fix_open_database_connections_during_routes into master

To reproduce :

bundle exec rspec spec/policies/user_policy_spec.rb 

There should be no DEPRECATION WARNING lines

Related issue: #359913 (closed)

Edited by Thong Kuah

Merge request reports