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
Fails on type cast. Whin trying to save model Orders it fails:
Order.create :list => [1,2,3,4]
Constructed sql:
INSERT INTO "orders" ("list", "created_at", "updated_at") VALUES (--- - 18 - 18 - 21 - 44 , '2011-09-29 14:11:31.480726', '2011-09-29 14:11:31.480726') RETURNING "id"
Migration is as follows
t.decimal_array :list
Error was
PGError: ERROR: column "list" is of type numeric[] but expression is of type integer LINE 2: - 18
The text was updated successfully, but these errors were encountered:
Fixed by pull request #5
Sorry, something went wrong.
No branches or pull requests
Fails on type cast. Whin trying to save model Orders it fails:
Constructed sql:
Migration is as follows
Error was
The text was updated successfully, but these errors were encountered: