Permalink
Browse files

Skip requiring active_resource in Rails 4

  • Loading branch information...
1 parent ada98cd commit 456f99fc715e1f877944e28acb1656c9a4b19248 @tricknotes tricknotes committed Mar 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/dummy/config/application.rb
@@ -2,7 +2,7 @@
require "action_controller/railtie"
require "action_mailer/railtie"
-require "active_resource/railtie"
+require "active_resource/railtie" if Rails::VERSION::MAJOR < 4
require "rails/test_unit/railtie"
Bundler.require

0 comments on commit 456f99f

Please sign in to comment.