Update process phase1

This commit is contained in:
2013-12-17 09:41:35 +01:00
parent b1937f1e38
commit 748944865d
8 changed files with 194 additions and 168 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
module ActiveModel
class Name
def human_plural
I18n.t("activemodel.models.plural.#{underscore.gsub('/', '.')}", :default => nil ) || human.pluralize
@human_plural ||= (I18n.t("activemodel.models.plural.#{i18n_key.to_s.gsub('/', '.')}", :default => nil ) || human.pluralize)
end
end
end