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
An error occurs when attempting to save a record without entering a value for a required user defined field:
12:42:54 PM api.1 | Completed 500 Internal Server Error in 32ms (ActiveRecord: 2.7ms | Allocations: 5524) 12:42:54 PM api.1 | TypeError (no implicit conversion of Hash into String): 12:42:54 PM api.1 | /Users/dleadbetter/.rbenv/versions/3.1.1/lib/ruby/3.1.0/json/common.rb:216:in `initialize' 12:42:54 PM api.1 | /Users/dleadbetter/.rbenv/versions/3.1.1/lib/ruby/3.1.0/json/common.rb:216:in `new' 12:42:54 PM api.1 | /Users/dleadbetter/.rbenv/versions/3.1.1/lib/ruby/3.1.0/json/common.rb:216:in `parse' 12:42:54 PM api.1 | user-defined-fields (4fff0bdfaad7) app/models/concerns/user_defined_fields/fieldable.rb:46:in `block in validate_user_defined_fields' 12:42:54 PM api.1 | activerecord (7.0.2.4) lib/active_record/relation/delegation.rb:88:in `each' 12:42:54 PM api.1 | activerecord (7.0.2.4) lib/active_record/relation/delegation.rb:88:in `each' 12:42:54 PM api.1 | user-defined-fields (4fff0bdfaad7) app/models/concerns/user_defined_fields/fieldable.rb:41:in `validate_user_defined_fields'
The text was updated successfully, but these errors were encountered:
UDF #19 - Updating fieldable concern to treat user_defined attribute …
69a90c7
…as JSON
Merge pull request #20 from performant-software/feature/udf19_validat…
0cfd2bf
…ion_exception UDF #19 - Validation exception
dleadbetter
No branches or pull requests
An error occurs when attempting to save a record without entering a value for a required user defined field:
The text was updated successfully, but these errors were encountered: