lib/sequel/plugins/validation_helpers.rb in sequel-5.2.0 vs lib/sequel/plugins/validation_helpers.rb in sequel-5.3.0
- old
+ new
@@ -46,12 +46,12 @@
# private
#
# def default_validation_helpers_options(type)
# case type
# when :exact_length
- # {message: lambda{|exact| I18n.t("errors.exact_length", exact: exact)}
+ # {message: lambda{|exact| I18n.t("errors.exact_length", exact: exact)}}
# when :integer
- # {message: lambda{I18n.t("errors.integer")}
+ # {message: lambda{I18n.t("errors.integer")}}
# else
# super
# end
# end
# end