From fd0bd1bf682622f064ac437ceee4e1b2a6b6d3b9 Mon Sep 17 00:00:00 2001 From: Josh Susser Date: Thu, 17 May 2018 14:22:00 -0700 Subject: 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 Co-authored-by: Jamon Douglas --- activestorage/CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'activestorage/CHANGELOG.md') 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`. -- cgit v1.2.3