We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30da88b commit d89cd5dCopy full SHA for d89cd5d
lib/roda/plugins/typecast_params.rb
@@ -7,8 +7,8 @@ class Roda
7
module RodaPlugins
8
# The typecast_params plugin allows for type conversion of submitted parameters.
9
# Submitted parameters should be considered untrusted input, and in standard use
10
- # with browsers, parameters are # submitted as strings (or a hash/array containing
11
- # strings). In most # cases it makes sense to explicitly convert the parameter to the
+ # with browsers, parameters are submitted as strings (or a hash/array containing
+ # strings). In most cases it makes sense to explicitly convert the parameter to the
12
# desired type. While this can be done via manual conversion:
13
#
14
# val = request.params['key'].to_i
0 commit comments