aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/CHANGELOG.md
diff options
context:
space:
mode:
authorJosh Susser <josh@hasmanythrough.com>2018-05-17 14:22:00 -0700
committerJosh Susser <josh@hasmanythrough.com>2018-05-17 14:51:15 -0700
commitfd0bd1bf682622f064ac437ceee4e1b2a6b6d3b9 (patch)
treea3c0cdc07acdae23fee748605c8b19a6a9f81462 /activestorage/CHANGELOG.md
parent6c05728a507fe828647c2a0f62cf8ede1534a642 (diff)
downloadrails-fd0bd1bf682622f064ac437ceee4e1b2a6b6d3b9.tar.gz
rails-fd0bd1bf682622f064ac437ceee4e1b2a6b6d3b9.tar.bz2
rails-fd0bd1bf682622f064ac437ceee4e1b2a6b6d3b9.zip
Generate getter and setter methods in mixin
Generated attachment getter and setter methods are created within the model's `GeneratedAssociationMethods` module to allow overriding and composition using `super`. Includes tests for new functionality. Co-authored-by: Josh Susser <josh@hasmanythrough.com> Co-authored-by: Jamon Douglas <terrildouglas@gmail.com>
Diffstat (limited to 'activestorage/CHANGELOG.md')
-rw-r--r--activestorage/CHANGELOG.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/activestorage/CHANGELOG.md b/activestorage/CHANGELOG.md
index 761d8f5021..7b724b7b81 100644
--- a/activestorage/CHANGELOG.md
+++ b/activestorage/CHANGELOG.md
@@ -1,3 +1,9 @@
+* Generated attachment getter and setter methods are created
+ within the model's `GeneratedAssociationMethods` module to
+ allow overriding and composition using `super`.
+
+ *Josh Susser*, *Jamon Douglas*
+
* Add `ActiveStorage::Blob#open`, which downloads a blob to a tempfile on disk
and yields the tempfile. Deprecate `ActiveStorage::Downloading`.