diff options
author | Xavier Noria <fxn@hashref.com> | 2008-05-27 23:58:45 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2008-05-28 00:01:21 +0200 |
commit | 7ac40187864c5a9d1837fb59dea170acd30699c5 (patch) | |
tree | d9051d28030743af39868413a556b232f3862c48 | |
parent | c5bd2318be0395b7f90c39a29d671c955d1a5d49 (diff) | |
download | rails-7ac40187864c5a9d1837fb59dea170acd30699c5.tar.gz rails-7ac40187864c5a9d1837fb59dea170acd30699c5.tar.bz2 rails-7ac40187864c5a9d1837fb59dea170acd30699c5.zip |
Active Resource instance -> ActiveResource::Base instance
-rw-r--r-- | activeresource/lib/active_resource/custom_methods.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activeresource/lib/active_resource/custom_methods.rb b/activeresource/lib/active_resource/custom_methods.rb index 4c8699288c..770116ceb7 100644 --- a/activeresource/lib/active_resource/custom_methods.rb +++ b/activeresource/lib/active_resource/custom_methods.rb @@ -48,8 +48,8 @@ module ActiveResource # # => [{:id => 1, :name => 'Ryan'}] # # Note: the objects returned from this method are not automatically converted - # into Active Resource instances - they are ordinary Hashes. If you are expecting - # Active Resource instances, use the <tt>find</tt> class method with the + # into ActiveResource::Base instances - they are ordinary Hashes. If you are expecting + # ActiveResource::Base instances, use the <tt>find</tt> class method with the # <tt>:from</tt> option. For example: # # Person.find(:all, :from => :active) |