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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 37dbe42af345cf9c60fff0b7dde1d3c2fee952a0
4
- data.tar.gz: 6a31f1c1d716d52783ff858e395a944a628b2b00
3
+ metadata.gz: 746a949567207a7523cd6f4aaefa23b827e3a827
4
+ data.tar.gz: cf0ae0cb488d8a90432b1d0ae089788919e1bd7b
5
5
  SHA512:
6
- metadata.gz: cc986cfd6243a3f802aee3c7f1d3cd46bb8516ddebf48e8d0145e3ebd7d416ef4f08581b0124ad3e4cbaeadc58d3e7b2dede36c807d7a7a03c4307b9d7ac5a5f
7
- data.tar.gz: 9406b9a11d824ecfbc2db5292bfe03e63d0736da2a9f7607df365600fe24f835575ad3489fc5f86115f41e5ca5a355f0fa358c582788e96cfd6e4ba45be6a7c4
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: selfish_associations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Schwartz