diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-08-12 01:59:36 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-08-12 01:59:36 +0900 |
commit | bef99313e97d77cb94561411756d237ada4af27f (patch) | |
tree | d20eb473f4984b5e6d6dd11ac268ff7582988a5f /activestorage/test | |
parent | de80aa641290a03c023d00d2ffca368026335fe4 (diff) | |
download | rails-bef99313e97d77cb94561411756d237ada4af27f.tar.gz rails-bef99313e97d77cb94561411756d237ada4af27f.tar.bz2 rails-bef99313e97d77cb94561411756d237ada4af27f.zip |
Evaluate `@active_storage_attached_#{name}` only once
Currently `"@active_storage_attached_#{name}"` in `define_method` is
evaluated every call. It is better to evaluate it only once.
Diffstat (limited to 'activestorage/test')
0 files changed, 0 insertions, 0 deletions