diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2012-05-10 09:39:54 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2012-05-10 09:39:54 -0700 |
commit | a9fc8a986d32e6178923f163b65d38a1bd88f563 (patch) | |
tree | 109b2e9c26c45816ceda2d53e4f398796ca4671c | |
parent | 22a60728a9495ac75075d1d27a706ae7f2df2529 (diff) | |
parent | c2193c11ad215d3a2d7d35960630b3e1902a5082 (diff) | |
download | rails-a9fc8a986d32e6178923f163b65d38a1bd88f563.tar.gz rails-a9fc8a986d32e6178923f163b65d38a1bd88f563.tar.bz2 rails-a9fc8a986d32e6178923f163b65d38a1bd88f563.zip |
Merge pull request #6230 from spectator/active_resource_exceptions
ActiveResource::TimeoutError is not loaded
-rw-r--r-- | activeresource/lib/active_resource.rb | 1 | ||||
-rw-r--r-- | activeresource/lib/active_resource/base.rb | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/activeresource/lib/active_resource.rb b/activeresource/lib/active_resource.rb index 0794a1a800..5730d7e52a 100644 --- a/activeresource/lib/active_resource.rb +++ b/activeresource/lib/active_resource.rb @@ -29,6 +29,7 @@ $:.unshift(activemodel_path) if File.directory?(activemodel_path) && !$:.include require 'active_support' require 'active_model' +require 'active_resource/exceptions' require 'active_resource/version' module ActiveResource diff --git a/activeresource/lib/active_resource/base.rb b/activeresource/lib/active_resource/base.rb index 10cc727bd9..032a245c3c 100644 --- a/activeresource/lib/active_resource/base.rb +++ b/activeresource/lib/active_resource/base.rb @@ -12,7 +12,6 @@ require 'set' require 'uri' require 'active_support/core_ext/uri' -require 'active_resource/exceptions' require 'active_resource/connection' require 'active_resource/formats' require 'active_resource/schema' |