From fcd2bdf1fe83a4d39a6c3af6d03d09500f93ca4d Mon Sep 17 00:00:00 2001 From: Kamil Trzcinski Date: Mon, 14 Sep 2015 15:33:56 +0200 Subject: Migrate tables Revert some Make it work Migrate tags and taggings to --- lib/current_settings.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/current_settings.rb') diff --git a/lib/current_settings.rb b/lib/current_settings.rb index 59dedfd..a8c89d4 100644 --- a/lib/current_settings.rb +++ b/lib/current_settings.rb @@ -3,7 +3,7 @@ module CurrentSettings key = :current_application_settings RequestStore.store[key] ||= begin - if ActiveRecord::Base.connected? && ActiveRecord::Base.connection.table_exists?('application_settings') + if ActiveRecord::Base.connected? && ActiveRecord::Base.connection.table_exists?('ci_application_settings') ApplicationSetting.current || ApplicationSetting.create_from_defaults else fake_application_settings -- cgit v1.2.1