duck_record 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/duck_record/nested_attributes.rb +1 -1
- data/lib/duck_record/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1fffce17ba17b6f56bb65f12a64cd4a62a297e0b
|
4
|
+
data.tar.gz: fc5f292b1eb03dfa856b4776df57b0535052b80f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bfa5e099a22e92992d90381854708f43a2890c6dd7730bc9be4ee43c112b11b7d7554fe5b3a4420c32b2bf9446b67eb60d809873076021fb1a65cbbb1fe5f7e9
|
7
|
+
data.tar.gz: bff27304fdbf8e7bad4ebaac002e9210ac79a0a41157e58d754d5a11eaa5a0f1b3a53c6d547c02957269e60d194e38196b93a756101c74c1963fda3eb3af0882
|
@@ -356,7 +356,7 @@ module DuckRecord
|
|
356
356
|
if method_defined?(:#{association_name}_attributes=)
|
357
357
|
remove_method(:#{association_name}_attributes=)
|
358
358
|
end
|
359
|
-
def #{association_name}_attributes=(attributes,
|
359
|
+
def #{association_name}_attributes=(attributes, force_write_readonly: false)
|
360
360
|
assign_nested_attributes_for_#{type}_association(:#{association_name}, attributes)
|
361
361
|
end
|
362
362
|
eoruby
|
data/lib/duck_record/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: duck_record
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jasl
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|