selfish_associations 0.1.1 → 0.1.2
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/associations/association.rb +4 -0
- 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: 746a949567207a7523cd6f4aaefa23b827e3a827
|
4
|
+
data.tar.gz: cf0ae0cb488d8a90432b1d0ae089788919e1bd7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 669103d8f7d673a7eefe55b4f746b83d2ac77b926dfa8ad948f6378a196b62b121446269ff532ded8a514e98663a59ac689f2c71270ff28918d5b457f15b0680
|
7
|
+
data.tar.gz: 2c4f13487d908511a804cf1589fa3cdd951dd1225a0d03946ba2fc55a9904e8142d3f950df51e16bb17fc260898d0fc99b89b7c13bd7d64fdeb3567e82036273
|
@@ -73,6 +73,10 @@ module SelfishAssociations
|
|
73
73
|
# cannot use if instance contains unpersisted changes
|
74
74
|
end
|
75
75
|
|
76
|
+
def instance_create_attributes(instance)
|
77
|
+
read_instance_create_attributes(instance)
|
78
|
+
end
|
79
|
+
|
76
80
|
def relation_reader
|
77
81
|
@relation_reader ||= apply_scopes(SelfishAssociations::ScopeReaders::Relation.new(@model))
|
78
82
|
end
|