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 cc7ef05..3cb01ea 100644 (file)
@@ -5,7 +5,7 @@ require File.expand_path('../preinitializer', __FILE__)
 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