aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/test/models/attached_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Store newly-uploaded files on save rather than assignmentGeorge Claghorn2018-07-071-56/+0
|
* Refactor activestorage/test/models/attached_test.rbbogdanvlviv2018-06-071-19/+21
| | | | | | | | | | | Don't include `ActiveJob::TestHelper` since there is no test that uses it. Ensure removing of overridden User's methods. Related to https://github.com/rails/rails/pull/33085#issuecomment-395548563 Module#remove_method is private in Ruby 2.4. Related to fd0bd1bf682622f064ac437ceee4e1b2a6b6d3b9
* Generate getter and setter methods in mixinJosh Susser2018-05-171-0/+54
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>