Fix: i18n symbol typo (#1085)

This commit is contained in:
Pedro Carmona
2024-08-13 17:31:51 +01:00
committed by GitHub
parent 82d3b8bcaf
commit 3c64f3ff3b
2 changed files with 31 additions and 1 deletions

View File

@@ -41,7 +41,7 @@ class TimeSeries::Value
def value_must_be_of_known_type
unless value.is_a?(Money) || value.is_a?(Numeric)
# i18n-tasks-use t('activemodel.errors.models.time_series/value.attributes.value.must_be_a_money_or_numeric')
errors.add :value, must_be_a_money_or_numeric
errors.add :value, :must_be_a_money_or_numeric
end
end
end