aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2016-12-21 12:03:30 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2016-12-21 12:04:06 -0800
commit87105622ccc66563f021e2a2defd66b8d7bfb46a (patch)
tree597fe68ba38aed93d2662e9058273cec7f8e5f05 /actionpack
parent2eb0a6630ac3ace528de04b308d0250ac613a318 (diff)
downloadrails-87105622ccc66563f021e2a2defd66b8d7bfb46a.tar.gz
rails-87105622ccc66563f021e2a2defd66b8d7bfb46a.tar.bz2
rails-87105622ccc66563f021e2a2defd66b8d7bfb46a.zip
updating docs
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/metal/parameter_encoding.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/metal/parameter_encoding.rb b/actionpack/lib/action_controller/metal/parameter_encoding.rb
index 8b2c414a5f..962532ff09 100644
--- a/actionpack/lib/action_controller/metal/parameter_encoding.rb
+++ b/actionpack/lib/action_controller/metal/parameter_encoding.rb
@@ -27,6 +27,10 @@ module ActionController
#
# def show
# @repo = Repository.find_by_filesystem_path params[:file_path]
+ #
+ # # `repo_name` is guaranteed to be UTF-8, but was ASCII-8BIT, so
+ # # tag it as such
+ # @repo_name = params[:repo_name].force_encoding 'UTF-8'
# end
#
# def index