activeentity 0.0.1.beta12 → 0.0.1.beta13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/active_entity/attribute_methods/write.rb +1 -1
- data/lib/active_entity/gem_version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 105f988db4e8fa1f139198e4ae81a47a68c0bc8790d48fda2e85d3b136292cf8
|
4
|
+
data.tar.gz: 18e30d59333b965a455843d58d423d64ec10b40464506d5672ce290b968ae282
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb51b5353013d8ae282601c4027823cd4155c87a6b4969c78cd7a70964932fa8bcce04fc60f3756454c2e040243af0206e9e6a20046a682dc52b894e7ac3f11d
|
7
|
+
data.tar.gz: b9aecb1a118fb2ae93a200793c246715744f40df5053cf62fe2e88ac17c202ce4c67ad54e4c3adc51b69a144e20df4bea5339afbdfc9b12d19291325e7be74f0
|
@@ -41,7 +41,7 @@ module ActiveEntity
|
|
41
41
|
# This method exists to avoid the expensive primary_key check internally, without
|
42
42
|
# breaking compatibility with the write_attribute API
|
43
43
|
def _write_attribute(attr_name, value) # :nodoc:
|
44
|
-
return if readonly_attribute?(attr_name) &&
|
44
|
+
return if readonly_attribute?(attr_name) && attr_readonly_enabled?
|
45
45
|
|
46
46
|
@attributes.write_from_user(attr_name.to_s, value)
|
47
47
|
value
|