diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-03-09 10:13:09 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-03-09 14:21:27 +0900 |
commit | ef3d6fc1d304dbfed7e49fdf501818891839ef65 (patch) | |
tree | ca24b6ccfe2277aa34821799dc4838f1c8efdfcc /activerecord/activerecord.gemspec | |
parent | c741b493409a5d8ae1f2514f73570a014ddc6b57 (diff) | |
download | rails-ef3d6fc1d304dbfed7e49fdf501818891839ef65.tar.gz rails-ef3d6fc1d304dbfed7e49fdf501818891839ef65.tar.bz2 rails-ef3d6fc1d304dbfed7e49fdf501818891839ef65.zip |
Fix select with block doesn't return newly built records in has_many association
The `select` in `QueryMethods` is also an enumerable method.
Enumerable methods with block should delegate to `records` on
`CollectionProxy`, not `scope`.
Fixes #28348.
Diffstat (limited to 'activerecord/activerecord.gemspec')
0 files changed, 0 insertions, 0 deletions