diff --git a/lib/trestle/model_name.rb b/lib/trestle/model_name.rb index 405767c1..8c6a1950 100644 --- a/lib/trestle/model_name.rb +++ b/lib/trestle/model_name.rb @@ -44,7 +44,7 @@ def default_singular # Default plural version if it cannot be determined from i18n def default_plural - singular.pluralize(I18n.locale) + singular.pluralize end # Safely delegates to ActiveModel::Name#human, catching exceptions caused by missing pluralizations