]> git.openstreetmap.org Git - rails.git/commitdiff
Fix database offline mode
authorTom Hughes <tom@compton.nu>
Wed, 2 Jul 2014 10:07:27 +0000 (11:07 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 2 Jul 2014 10:07:52 +0000 (11:07 +0100)
config/application.rb

index cc7ef05005bc8156316c2f364afe5e366beeb6ea..3cb01eabf0279340d9a663d3fb7e944a4734f3d5 100644 (file)
@@ -5,7 +5,7 @@ require File.expand_path('../preinitializer', __FILE__)
 if STATUS == :database_offline
 require "action_controller/railtie"
 require "action_mailer/railtie"
 if STATUS == :database_offline
 require "action_controller/railtie"
 require "action_mailer/railtie"
-require "active_resource/railtie"
+require "active_model/railtie"
 require "sprockets/railtie"
 require "rails/test_unit/railtie"
 else
 require "sprockets/railtie"
 require "rails/test_unit/railtie"
 else