selfish_associations 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/selfish_associations/builder.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: a331cc1b58e62f5ad94ac9ab5e2842b2ddc56bfe
|
4
|
+
data.tar.gz: 8f9062422295b606dfbec4cc9519b4dee98f27e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1dec4bee06544fe23094d845e944425e45c266f449d2c7e0d2162e53e1ae7bd0171921204675f5279cb720003e848f6067ae688b7f3d8632201a5f1beae47dac
|
7
|
+
data.tar.gz: 5f423f72cc35cf1bbf38a2281bcc0e69a4f54468485945b70a81e0a53a3e4d45a244ad1b1290235adbcce0b4fb03c9366fddf4ef6650b1922518ed7620ae6906
|
@@ -11,7 +11,7 @@ module SelfishAssociations
|
|
11
11
|
|
12
12
|
def add_association(name, assoc)
|
13
13
|
initialize_methods_class
|
14
|
-
@model.selfish_associations
|
14
|
+
@model.selfish_associations = @model.selfish_associations.merge(name => assoc)
|
15
15
|
|
16
16
|
@model::SelfishAssociationMethods.class_eval do
|
17
17
|
define_method(name) do |reload = false|
|