diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-06-22 18:15:40 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-06-22 18:15:40 +0000 |
commit | e682fee121ed4c48b94e0afea887370c16e15d05 (patch) | |
tree | 70f59e513f6db875055a9e5f537e5a7afb522fac /activeresource/lib/active_resource | |
parent | dae61089982d079d4ea57ad83340bf5cbdd83d3a (diff) | |
download | rails-e682fee121ed4c48b94e0afea887370c16e15d05.tar.gz rails-e682fee121ed4c48b94e0afea887370c16e15d05.tar.bz2 rails-e682fee121ed4c48b94e0afea887370c16e15d05.zip |
Fix reload error when path prefix is used. Closes #8727.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7082 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activeresource/lib/active_resource')
-rw-r--r-- | activeresource/lib/active_resource/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activeresource/lib/active_resource/base.rb b/activeresource/lib/active_resource/base.rb index 78d1c0033a..b4a9888ee5 100644 --- a/activeresource/lib/active_resource/base.rb +++ b/activeresource/lib/active_resource/base.rb @@ -294,7 +294,7 @@ module ActiveResource # Reloads the attributes of this object from the remote web service. def reload - self.load(self.class.find(id, @prefix_options).attributes) + self.load(self.class.find(id, :params => @prefix_options).attributes) end # Manually load attributes from a hash. Recursively loads collections of |