In Rails 4, how can you add a model validation for a maximum value on an integer column?
For example, I want to add a validation to the column "age", to have a maximum value of 100.
There are many questions with answers for Rails 3 and earlier. The docs do not mention any way of checking integer values.