nulogy-gettext_i18n_rails 0.5.3.1 → 0.5.3.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,8 @@
|
|
1
1
|
module GettextI18nRails::ActiveRecord
|
2
|
-
|
2
|
+
include ActiveModel::Translation
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
end
|
4
|
+
# method deprecated in Rails 3.1
|
5
|
+
def human_name(*args)
|
6
|
+
_(self.humanize_class_name)
|
8
7
|
end
|
9
8
|
end
|