Can strong parameters be used to ensure that the attribute is filtered out with a white list of possible values?
For example, I have the age of the parameter that I want to ensure in order to have only these values ββ[10,20,30,40,50]. Is it possible to use the logic of strong parameters to make sure that?
thank
source
share