nicolasblanco/rails_param

Not an issue: Can we able validate the string length?

Closed this issue · 1 comments

For a particular string field, is there any we can restrict a string length for a field? like max 1000 characters.

Found the answer, we need to use max_length attribute