We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-- in table `articles` tags character varying(40)[]
What gets added:
# in model `Article` validates_length_of :tags, maximum: 40
So instead of limiting each item in the array to 40 characters, we limit the array to 40 items!
A quick fix would be skipping adding validations for attributes where column.array? is true.
column.array?
true
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What gets added:
So instead of limiting each item in the array to 40 characters, we limit the array to 40 items!
A quick fix would be skipping adding validations for attributes where
column.array?
istrue
.The text was updated successfully, but these errors were encountered: