super_serialize 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/super_serialize.rb +0 -4
- data/lib/super_serialize/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: 3c13e473a8158e45546f4e091cbb1148315ef3ff
|
4
|
+
data.tar.gz: 48e691747ef546efe4200537dea1844be5a905ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05073614227e94a79410c0caf53637f3b0c4561a000baf37ad25e176419a520de875a25e3d33fb25f8625053cd4280bcec771c73e9ca274a2404d585ac242451
|
7
|
+
data.tar.gz: be13fb2c752df3e5179c765f722689ff6db53e44b611625e504c7d8675535f3c4b3d63983ce5ae883d95c9a7456d205b42ebd294076a30b6599d9d51012245e6
|
data/lib/super_serialize.rb
CHANGED
@@ -6,10 +6,6 @@ module SuperSerialize
|
|
6
6
|
|
7
7
|
module ClassMethods
|
8
8
|
def super_serialize(*attr_names)
|
9
|
-
# This is to guard against trying to execute code for a Rails model where
|
10
|
-
# the table has not been created yet.
|
11
|
-
return unless ActiveRecord::Base.connection.table_exists?(table_name)
|
12
|
-
|
13
9
|
# === Arguments
|
14
10
|
# +attr_names+:: the name of the of the attributes to be super_serialized
|
15
11
|
# === Example
|