From 42c5ca18a08d6d6bae0a0925dfda0029552a55ba Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Wed, 7 May 2008 23:18:03 +0200 Subject: [PATCH] + vs in ActiveResource::Base docs --- activeresource/lib/active_resource/base.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/activeresource/lib/active_resource/base.rb b/activeresource/lib/active_resource/base.rb index 9859b6dcd2..08fd0123f6 100644 --- a/activeresource/lib/active_resource/base.rb +++ b/activeresource/lib/active_resource/base.rb @@ -707,7 +707,7 @@ module ActiveResource end # Test for equality. Resource are equal if and only if +other+ is the same object or - # is an instance of the same class, is not +new?+, and has the same +id+. + # is an instance of the same class, is not new?, and has the same +id+. # # ==== Examples # ryan = Person.create(:name => 'Ryan') @@ -795,7 +795,7 @@ module ActiveResource connection.delete(element_path, self.class.headers) end - # Evaluates to true if this resource is not +new?+ and is + # Evaluates to true if this resource is not new? and is # found on the remote service. Using this method, you can check for # resources that may have been deleted between the object's instantiation # and actions on it. @@ -898,7 +898,7 @@ module ActiveResource self end - # For checking +respond_to?+ without searching the attributes (which is faster). + # For checking respond_to? without searching the attributes (which is faster). alias_method :respond_to_without_attributes?, :respond_to? # A method to determine if an object responds to a message (e.g., a method call). In Active Resource, a Person object with a