diff options
author | AvnerCohen <israbirding@gmail.com> | 2012-10-27 22:05:27 +0200 |
---|---|---|
committer | AvnerCohen <israbirding@gmail.com> | 2012-10-27 22:05:27 +0200 |
commit | 62f273b6501db72e3c902d947e6828dcab9c004a (patch) | |
tree | 6e49d8b5219a94844b19c3809ae64783fef16f6a /actionpack/lib/action_controller/metal/params_wrapper.rb | |
parent | cc81af2fe438fd3e2c8f95dae8f757de0bab1b53 (diff) | |
download | rails-62f273b6501db72e3c902d947e6828dcab9c004a.tar.gz rails-62f273b6501db72e3c902d947e6828dcab9c004a.tar.bz2 rails-62f273b6501db72e3c902d947e6828dcab9c004a.zip |
Multiple changes to 1,9 hash syntax
Diffstat (limited to 'actionpack/lib/action_controller/metal/params_wrapper.rb')
-rw-r--r-- | actionpack/lib/action_controller/metal/params_wrapper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/metal/params_wrapper.rb b/actionpack/lib/action_controller/metal/params_wrapper.rb index 88b9e78da7..09abc999c1 100644 --- a/actionpack/lib/action_controller/metal/params_wrapper.rb +++ b/actionpack/lib/action_controller/metal/params_wrapper.rb @@ -82,7 +82,7 @@ module ActionController # would use to determine the attribute names from. # # ==== Examples - # wrap_parameters :format => :xml + # wrap_parameters format: :xml # # enables the parameter wrapper for XML format # # wrap_parameters :person @@ -92,7 +92,7 @@ module ActionController # # wraps parameters by determining the wrapper key from Person class # (+person+, in this case) and the list of attribute names # - # wrap_parameters :include => [:username, :title] + # wrap_parameters include: [:username, :title] # # wraps only +:username+ and +:title+ attributes from parameters. # # wrap_parameters false |