aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource
diff options
context:
space:
mode:
authorEvgeniy Dolzhenko <dolzenko@gmail.com>2010-06-11 14:15:34 +0400
committerEvgeniy Dolzhenko <dolzenko@gmail.com>2010-06-11 14:15:34 +0400
commitccf9577aee86ce1f766c5e8854e0c285dc38f8ac (patch)
tree7d7aae452ebfeb8ae30016ceffd0e8686bbf1b57 /activeresource
parent2148e2cc943f17544f1288e742954fdaa8a92d62 (diff)
downloadrails-ccf9577aee86ce1f766c5e8854e0c285dc38f8ac.tar.gz
rails-ccf9577aee86ce1f766c5e8854e0c285dc38f8ac.tar.bz2
rails-ccf9577aee86ce1f766c5e8854e0c285dc38f8ac.zip
Fix a bunch of minor spelling mistakes
Diffstat (limited to 'activeresource')
-rw-r--r--activeresource/lib/active_resource/base.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activeresource/lib/active_resource/base.rb b/activeresource/lib/active_resource/base.rb
index b89097ac4b..e3728c83eb 100644
--- a/activeresource/lib/active_resource/base.rb
+++ b/activeresource/lib/active_resource/base.rb
@@ -763,7 +763,7 @@ module ActiveResource
# With any other scope, find returns nil when no data is returned.
#
# Person.find(1)
- # # => raises ResourcenotFound
+ # # => raises ResourceNotFound
#
# Person.find(:all)
# Person.find(:first)
@@ -941,7 +941,7 @@ module ActiveResource
end
# This is a list of known attributes for this resource. Either
- # gathered fromthe provided <tt>schema</tt>, or from the attributes
+ # gathered from the provided <tt>schema</tt>, or from the attributes
# set on this instance after it has been fetched from the remote system.
def known_attributes
self.class.known_attributes + self.attributes.keys.map(&:to_s)