New issue
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
Allow_nil: true not working #9
Comments
🤦♂ I guess I know where it comes from - investigating |
|
You're welcome, I could still see one problem and that is we don't check if allow_nil: true is set anywhere in the code. |
In this case we use a regular ActiveRecord validation, and |
👍🏻 Thanks for the such a quick fix! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @DmitryTsepelev,
Thanks for the gem! It seems
allow_nil: true
not working, when I try to save model with json attributes set to nil it raisesor
If I add
in both array_type.rb and json_type.rb everything works fine.
The text was updated successfully, but these errors were encountered: