globalize-automatic 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b5f88643e3a9f0e294da50bd44985b2a53eacf7
|
4
|
+
data.tar.gz: 4d5fe443cb3ac353fee710ca5c95a19f5e9543b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6507f98df54cb7c6334bc29c339c756df23f26b903fc14eb002ea03ec92f815248462336bfdedcdc12f87209294eebcde451484991d36c2774915478023f0949
|
7
|
+
data.tar.gz: e8422202f3193aed4b0a057bbbd891c4c63f1fa8e555139b915c484fbdf9c3a6889856c7599288a0d82f9c42071f7dd28ae5ea156050eff815958fec001742cf
|
@@ -22,8 +22,8 @@ class Globalize::Automatic::Translation < ActiveRecord::Base
|
|
22
22
|
def translate(attr_name)
|
23
23
|
if automatically_for?(attr_name)
|
24
24
|
Globalize::Automatic.asynchronously ?
|
25
|
-
Globalize::Automatic::TranslationJob.perform_later(self, attr_name) :
|
26
|
-
Globalize::Automatic::TranslationJob.perform_now(self, attr_name)
|
25
|
+
Globalize::Automatic::TranslationJob.perform_later(self, attr_name.to_s) :
|
26
|
+
Globalize::Automatic::TranslationJob.perform_now(self, attr_name.to_s)
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|