Added API to strong parameters to parse ranges.
The API makes sure that the parameter values lie within the given given range.