aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/lib
diff options
context:
space:
mode:
authorNick Plante <nap@zerosum.org>2008-05-27 23:32:47 -0400
committerNick Plante <nap@zerosum.org>2008-05-27 23:32:47 -0400
commita8e32152fcd07786fc6b0a58d999267bc3ddec04 (patch)
tree34aada103f06942c6482385abb5250a592e70336 /activeresource/lib
parent4be3c2c92fed516aca2fcb1ba9fc253bda580d25 (diff)
downloadrails-a8e32152fcd07786fc6b0a58d999267bc3ddec04.tar.gz
rails-a8e32152fcd07786fc6b0a58d999267bc3ddec04.tar.bz2
rails-a8e32152fcd07786fc6b0a58d999267bc3ddec04.zip
update language and use proper fonts for method names
Diffstat (limited to 'activeresource/lib')
-rw-r--r--activeresource/lib/active_resource/base.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/activeresource/lib/active_resource/base.rb b/activeresource/lib/active_resource/base.rb
index 82aa133bb1..253d336dc9 100644
--- a/activeresource/lib/active_resource/base.rb
+++ b/activeresource/lib/active_resource/base.rb
@@ -426,16 +426,16 @@ module ActiveResource
alias_method :set_primary_key, :primary_key= #:nodoc:
- # Create a new resource instance and request to the remote service
+ # Creates a new resource instance and makes a request to the remote service
# that it be saved, making it equivalent to the following simultaneous calls:
#
# ryan = Person.new(:first => 'ryan')
# ryan.save
#
- # The newly created resource is returned. If a failure has occurred an
- # exception will be raised (see save). If the resource is invalid and
- # has not been saved then valid? will return <tt>false</tt>,
- # while new? will still return <tt>true</tt>.
+ # Returns the newly created resource. If a failure has occurred an
+ # exception will be raised (see <tt>save</tt>). If the resource is invalid and
+ # has not been saved then <tt>valid?</tt> will return <tt>false</tt>,
+ # while <tt>new?</tt> will still return <tt>true</tt>.
#
# ==== Examples
# Person.create(:name => 'Jeremy', :email => 'myname@nospam.com', :enabled => true)