diff options
author | Edouard CHIN <edouard.chin@shopify.com> | 2019-07-10 23:30:44 +0200 |
---|---|---|
committer | Edouard CHIN <edouard.chin@shopify.com> | 2019-07-16 14:28:38 +0200 |
commit | d204a09df21ce3578081108936a57707b5ece9b8 (patch) | |
tree | 48d3e64b8c480e13a6c538ff1cf84d50d713131c /activestorage/test/analyzer/image_analyzer_test.rb | |
parent | b677adede027eefed41f6b37096df7bbc4eb3d38 (diff) | |
download | rails-d204a09df21ce3578081108936a57707b5ece9b8.tar.gz rails-d204a09df21ce3578081108936a57707b5ece9b8.tar.bz2 rails-d204a09df21ce3578081108936a57707b5ece9b8.zip |
Switch to use `class_attribute`:
- Since `ActiveModel::Error` can now be inherited by
`ActiveModel::NestedError`, when the latter generates a
`full_message`, the `i18n_customize_full_message` accessor set in
the parent class is not set.
This commit fixes that by using a `class_attribute` instead.
Diffstat (limited to 'activestorage/test/analyzer/image_analyzer_test.rb')
0 files changed, 0 insertions, 0 deletions