class ParameterEncodingController
Public Instance Methods
test_all_values_encoding()
click to toggle source
# File actionpack/test/controller/parameter_encoding_test.rb, line 17 def test_all_values_encoding render body: ::JSON.dump(params.values.map(&:encoding).map(&:name)) end
test_bar()
click to toggle source
# File actionpack/test/controller/parameter_encoding_test.rb, line 13 def test_bar render body: params[:bar].encoding end
test_foo()
click to toggle source
# File actionpack/test/controller/parameter_encoding_test.rb, line 9 def test_foo render body: params[:foo].encoding end