snaptable 0.8.5 → 0.8.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/snaptable/constructor/renderer.rb +1 -1
- data/lib/snaptable/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df5de2ef7546d0239eede95d41de5cae8a2f033e
|
4
|
+
data.tar.gz: 08ae93ee6ffc8e9535b686de71ddd80dbe3bcc82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 874ce743885387be79bfe779a82645caccf880ccbf19e45583f253df212233d646099f51d617132c31f0cc902cf4d394bf52fa93f922c3121c1423fb50a7dc14
|
7
|
+
data.tar.gz: 0f8aaaff1bd93b04bc9d4f81519e6250d328af105c0d8b6908f183aeaf8a46cdee58ece8149864e30992546d7496d98cb9b31ab0794b4674d1a475671e055615
|
@@ -38,7 +38,7 @@ module Snaptable
|
|
38
38
|
if attr_value.is_a?(Date) || attr_value.is_a?(Time) || attr_value.is_a?(DateTime)
|
39
39
|
l attr_value, format: :snaptable
|
40
40
|
elsif attribute.to_s.in? enums
|
41
|
-
t "#{model.model_name.
|
41
|
+
t "#{model.model_name.i18n_key}.#{attribute.to_s.pluralize}.#{attr_value}"
|
42
42
|
else
|
43
43
|
attr_value
|
44
44
|
end.to_s
|
data/lib/snaptable/version.rb
CHANGED