diff options
author | Josh Susser <josh@hasmanythrough.com> | 2018-05-17 14:22:00 -0700 |
---|---|---|
committer | Josh Susser <josh@hasmanythrough.com> | 2018-05-17 14:51:15 -0700 |
commit | fd0bd1bf682622f064ac437ceee4e1b2a6b6d3b9 (patch) | |
tree | a3c0cdc07acdae23fee748605c8b19a6a9f81462 /activerecord/test/cases/associations_test.rb | |
parent | 6c05728a507fe828647c2a0f62cf8ede1534a642 (diff) | |
download | rails-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 'activerecord/test/cases/associations_test.rb')
0 files changed, 0 insertions, 0 deletions