couchbase-orm 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/couchbase-orm/base.rb +1 -0
- data/lib/couchbase-orm/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: 11c2ad7ff34f37ae315cd7c9a3fdc7a6996227e2
|
4
|
+
data.tar.gz: 3f6aefaa94d88a6aaebad20bedb1c78a28a70008
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4ddb04a7d3bd75b42ea33c95d3381796c765232b13dff8a06210ed229282bbc061700c85966b79728fc57ab2d95c68d7559dec0c2a1752a334e2db113c4a9e7
|
7
|
+
data.tar.gz: 0e2364c88a7b6bee5ae8e3f0ce236fcab13fca16d404f3c2089cc73d9fd3f1d242a6065d81148df495b6f9f3828f46a2a2305c1a88370d7c750b15440b7209b1
|
data/lib/couchbase-orm/base.rb
CHANGED
@@ -21,6 +21,7 @@ module CouchbaseOrm
|
|
21
21
|
include ::ActiveModel::Serializers::JSON
|
22
22
|
|
23
23
|
extend ::ActiveModel::Callbacks
|
24
|
+
include ::ActiveModel::Validations::Callbacks
|
24
25
|
define_model_callbacks :initialize, :only => :after
|
25
26
|
define_model_callbacks :create, :destroy, :save, :update
|
26
27
|
|