Replies: 1 comment 1 reply
-
You want to use the error_splitter plugin: https://sequel.jeremyevans.net/rdoc-plugins/classes/Sequel/Plugins/ErrorSplitter.html |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After
validates_unique([:column1, :column2])
validation the error key will contain[:column1, :column2]
, which can cause some problems, because the key have to be a symbol, for example,sentry-raven
(old version) crashes on such keys.It is possible to correct this behavior in Sequel? Perhaps, can I do it like in Rails, where one field is validated anyway, just in the context of other fields and the error is assigned to the selected field.
Beta Was this translation helpful? Give feedback.
All reactions