diff options
author | Rick Olson <technoweenie@gmail.com> | 2007-12-28 17:03:58 +0000 |
---|---|---|
committer | Rick Olson <technoweenie@gmail.com> | 2007-12-28 17:03:58 +0000 |
commit | c54b915825b034b431b4b0cdb28f8ca00fca808d (patch) | |
tree | bbc4f216661139f0134e12005c5bfaadb02f894b /activeresource/lib/active_resource.rb | |
parent | 90d75e5109cb3e2fd172711b479ab29bda249544 (diff) | |
download | rails-c54b915825b034b431b4b0cdb28f8ca00fca808d.tar.gz rails-c54b915825b034b431b4b0cdb28f8ca00fca808d.tar.bz2 rails-c54b915825b034b431b4b0cdb28f8ca00fca808d.zip |
Support agnostic formats when calling custom methods. Closes #10635 [joerichsen]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8502 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activeresource/lib/active_resource.rb')
-rw-r--r-- | activeresource/lib/active_resource.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activeresource/lib/active_resource.rb b/activeresource/lib/active_resource.rb index 96f2257a04..18347457aa 100644 --- a/activeresource/lib/active_resource.rb +++ b/activeresource/lib/active_resource.rb @@ -27,7 +27,7 @@ $:.unshift(File.dirname(__FILE__)) unless unless defined?(ActiveSupport) begin $:.unshift(File.dirname(__FILE__) + "/../../activesupport/lib") - require 'active_support' + require 'active_support' rescue LoadError require 'rubygems' gem 'activesupport' |