Only create the defaults ApplicationSetting when DB is fully migrated
( cherry picked from commit 869b4d7c upsream) Return a fake application settings OpenStruct when this is not the case. Also, use ActiveRecord::Base.connection_pool.active_connection? instead of ActiveRecord::Base.connection.active? to avoid driver exception.
Showing
Please register or sign in to comment