Hello, it looks like there's an issue when using both auto_validations and defaults_setter plugin.
I am using sequel 5.30.0 Please have a look on the following example: create_table :foo_bars do primary_key :id column :name, 'character varying(64)', null: false column :state, 'smallint', null: false end class FooBar < Sequel::Model(:foo_bars) plugin :auto_validations plugin :defaults_setter default_values[:state] = 1 end FooBar.create # => Sequel::ValidationFailed: state is not present With validation_helpers plugin I have no issues and everything works as expected... -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sequel-talk/659015f2-b4b0-477f-a603-290057cadf7b%40googlegroups.com.
