Permalink
Browse files

small fix in ActiveResource::Base docs

  • Loading branch information...
fxn committed May 27, 2008
1 parent bb64660 commit c5bd2318be0395b7f90c39a29d671c955d1a5d49
Showing with 2 additions and 2 deletions.
  1. +2 −2 activeresource/lib/active_resource/base.rb
@@ -200,7 +200,7 @@ class Base
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 @@ def site
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?

0 comments on commit c5bd231

Please sign in to comment.