en_masse 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/en_masse/refinements.rb +2 -1
- data/lib/en_masse/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: d6aacf9d6b65da55afc86a7ddbee21ec434883d5
|
4
|
+
data.tar.gz: ee5ddb583d9f6f960f93309c77ade2ec1aa10d14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a1d8115b21cf42c7cd8eecfeffb1c462a3074594648f02b18f6d3bd780a0a5ff84da2f95f47bb8312a4720a9abdb969a51843df7e3260ce965a62cc46788140
|
7
|
+
data.tar.gz: a69508c71040b07c3bcd3367cc60488a0501b3994b5fce81e3b5bf36e2ee350f23fba7e4bc7ec68575d55d5139541d5c3019e3141f3e6cc0325e04ed2cc22286
|
data/lib/en_masse/refinements.rb
CHANGED
@@ -66,7 +66,8 @@ module EnMasse::Refinements
|
|
66
66
|
if %w(created_at updated_at).include? column_name
|
67
67
|
"now()"
|
68
68
|
else
|
69
|
-
ActiveRecord::Base.connection
|
69
|
+
conn = ActiveRecord::Base.connection
|
70
|
+
conn.quote( conn.type_cast(self.send(column_name), column) )
|
70
71
|
end
|
71
72
|
}
|
72
73
|
end
|
data/lib/en_masse/version.rb
CHANGED