From 349df7560565d196af3a9d204f721ca54bc9912f Mon Sep 17 00:00:00 2001 From: Marcel Molina Date: Wed, 23 Jan 2008 17:04:49 +0000 Subject: Reference to :element option in documentation should be :member. Closes #10905 [fxn] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8706 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activeresource/lib/active_resource/custom_methods.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activeresource/lib/active_resource/custom_methods.rb') diff --git a/activeresource/lib/active_resource/custom_methods.rb b/activeresource/lib/active_resource/custom_methods.rb index 70e7ac9ab6..52a4a4f10b 100644 --- a/activeresource/lib/active_resource/custom_methods.rb +++ b/activeresource/lib/active_resource/custom_methods.rb @@ -4,7 +4,7 @@ module ActiveResource # say you use Rails to expose a REST service and configure your routes with: # # map.resources :people, :new => { :register => :post }, - # :element => { :promote => :put, :deactivate => :delete } + # :member => { :promote => :put, :deactivate => :delete } # :collection => { :active => :get } # # This route set creates routes for the following http requests: -- cgit v1.2.3