aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/orm_test.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-01-10 07:08:42 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-01-10 07:08:42 +0900
commitb8e5d4f9dffb35b7b0ca2f583cb1c9258a7d7cbe (patch)
tree2de3b65e9ed7ac2a2d99847c4cb526a7c7953c4e /railties/test/generators/orm_test.rb
parentd749b5d0e8a659f2018a3acdd0061ec6b57b7f7e (diff)
downloadrails-b8e5d4f9dffb35b7b0ca2f583cb1c9258a7d7cbe.tar.gz
rails-b8e5d4f9dffb35b7b0ca2f583cb1c9258a7d7cbe.tar.bz2
rails-b8e5d4f9dffb35b7b0ca2f583cb1c9258a7d7cbe.zip
Bring back passing single record support for `Preloader`
I removed redundant `Array.wrap(records)` since `Preloader` is nodoc class and Active Record always pass `records` as an array to `Preloader`. But if users relies on that behavior, it is not worth dropping its behavior. Fixes #31661.
Diffstat (limited to 'railties/test/generators/orm_test.rb')
0 files changed, 0 insertions, 0 deletions