diff options
author | Yoshiyuki Hirano <yhirano@me.com> | 2017-09-17 18:24:16 +0900 |
---|---|---|
committer | Yoshiyuki Hirano <yhirano@me.com> | 2017-09-19 06:02:00 +0900 |
commit | 704bf9b9c64a2f92c6e72d74350bd8f00aaca5c5 (patch) | |
tree | 55807438551878c881d32363bfb980ef9e17ffe7 /activerecord/lib/active_record/scoping/default.rb | |
parent | 37be1cb47755a3d0a02eed12ac8cfb377b172f2d (diff) | |
download | rails-704bf9b9c64a2f92c6e72d74350bd8f00aaca5c5.tar.gz rails-704bf9b9c64a2f92c6e72d74350bd8f00aaca5c5.tar.bz2 rails-704bf9b9c64a2f92c6e72d74350bd8f00aaca5c5.zip |
Add `with_attached_*` scope to `has_one_attached` macro
* For avoiding N+1 problem, added `with_attached_*` scope to
`has_one_attached` macro.
Diffstat (limited to 'activerecord/lib/active_record/scoping/default.rb')
0 files changed, 0 insertions, 0 deletions