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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
attribute :product_bindings, :hash, default: proc { Hash.new }
Raises the error:
ERROR: syntax error at or near "array" LINE 1: SELECT 'array'::regtype::oid ^ CONTEXT: invalid type name "array"
The text was updated successfully, but these errors were encountered:
ActiveType does not do any type casting on arrays or hashes, so you can simply drop the type and use
attribute :product_bindings, default: proc { Hash.new }
I'll release a fix, so ActiveType just ignores such data types, instead of crashing.
Sorry, something went wrong.
df45087
Merge pull request #26 from makandra/tk/dont-crash-for-unsupported-types
fef6c13
[fixes #25] dont crash for database types without casting rules
No branches or pull requests
Raises the error:
The text was updated successfully, but these errors were encountered: