aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2008-05-27 23:53:21 +0200
committerXavier Noria <fxn@hashref.com>2008-05-28 00:01:21 +0200
commitc5bd2318be0395b7f90c39a29d671c955d1a5d49 (patch)
treefc2f9253da84dee869947d305f2c1c10092d4064
parentbb64660c30705e3864f1ffa5beeafe7d09813ad9 (diff)
downloadrails-c5bd2318be0395b7f90c39a29d671c955d1a5d49.tar.gz
rails-c5bd2318be0395b7f90c39a29d671c955d1a5d49.tar.bz2
rails-c5bd2318be0395b7f90c39a29d671c955d1a5d49.zip
small fix in ActiveResource::Base docs
-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 463ee9f1e7..26931e5e4a 100644
--- a/activeresource/lib/active_resource/base.rb
+++ b/activeresource/lib/active_resource/base.rb
@@ -200,7 +200,7 @@ module ActiveResource
cattr_accessor :logger
class << self
- # Gets the URI of the REST resources to map for this class. The site variable is required
+ # Gets the URI of the REST resources to map for this class. The site variable is required for
# Active Resource's mapping to work.
def site
# Not using superclass_delegating_reader because don't want subclasses to modify superclass instance
@@ -226,7 +226,7 @@ module ActiveResource
end
# Sets the URI of the REST resources to map for this class to the value in the +site+ argument.
- # The site variable is required Active Resource's mapping to work.
+ # The site variable is required for Active Resource's mapping to work.
def site=(site)
@connection = nil
if site.nil?