diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-01-01 04:33:59 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-01-01 04:33:59 +0900 |
commit | 6ba7adbaa76244e9e592f5672c8411dd0b4e7fce (patch) | |
tree | 7dbe7486207793862f391a7afa42cf1096cb30ba /MIT-LICENSE | |
parent | ac0b28883b78999c5605d032eb42fcd842841e6b (diff) | |
download | rails-6ba7adbaa76244e9e592f5672c8411dd0b4e7fce.tar.gz rails-6ba7adbaa76244e9e592f5672c8411dd0b4e7fce.tar.bz2 rails-6ba7adbaa76244e9e592f5672c8411dd0b4e7fce.zip |
Refactor `CollectionAssociation#ids_reader`
Simply we can do `target.pluck(reflection.association_primary_key)` if
`target` is loaded.
Diffstat (limited to 'MIT-LICENSE')
0 files changed, 0 insertions, 0 deletions