lib/sequel/model/exceptions.rb in sequel-5.59.0 vs lib/sequel/model/exceptions.rb in sequel-5.60.0

- old
+ new

@@ -42,10 +42,10 @@ if errors.is_a?(Sequel::Model) @model = errors errors = @model.errors end - if errors.respond_to?(:full_messages) + if defined?(errors.full_messages) @errors = errors super(errors.full_messages.join(', ')) else super end