DEV: Apply syntax_tree formatting to lib/*

This commit is contained in:
David Taylor
2023-01-09 12:10:19 +00:00
parent b0fda61a8e
commit 6417173082
507 changed files with 16550 additions and 12627 deletions

View File

@@ -13,10 +13,6 @@ class TimezoneValidator < ActiveModel::EachValidator
def validate_each(record, attribute, value)
return if value.blank? || TimezoneValidator.valid?(value)
record.errors.add(
attribute,
:timezone,
message: TimezoneValidator.error_message(value)
)
record.errors.add(attribute, :timezone, message: TimezoneValidator.error_message(value))
end
end