Is it possible to use strong parameters to ensure that an attribute will be filtered with a whitelist of possible values?
For example, I have a parameter age that I want to ensure that can only have this values [10,20,30,40,50]. Is it possible to use the strong parameters logic to ensure that?
Thanks