diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-11-26 19:14:39 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-11-26 19:14:39 +0530 |
commit | 1d8954068655580548e8e1cb283a8499988afb1d (patch) | |
tree | 2694ef0ad4ecf0297f6f72d4af84c90acb0494f9 /activeresource | |
parent | b6916e0b925d4c8b4487d574fe07b11440f2ec5e (diff) | |
parent | 5c2a2ee76e2af591a997b71eec0e35143c07f9e1 (diff) | |
download | rails-1d8954068655580548e8e1cb283a8499988afb1d.tar.gz rails-1d8954068655580548e8e1cb283a8499988afb1d.tar.bz2 rails-1d8954068655580548e8e1cb283a8499988afb1d.zip |
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'activeresource')
-rw-r--r-- | activeresource/lib/active_resource/custom_methods.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activeresource/lib/active_resource/custom_methods.rb b/activeresource/lib/active_resource/custom_methods.rb index c1931b2758..f7cb381711 100644 --- a/activeresource/lib/active_resource/custom_methods.rb +++ b/activeresource/lib/active_resource/custom_methods.rb @@ -23,7 +23,7 @@ module ActiveResource # self.site = "http://37s.sunrise.i:3000" # end # - # Person.new(:name => 'Ryan).post(:register) # POST /people/new/register.json + # Person.new(:name => 'Ryan').post(:register) # POST /people/new/register.json # # => { :id => 1, :name => 'Ryan' } # # Person.find(1).put(:promote, :position => 'Manager') # PUT /people/1/promote.json |