diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-07-07 13:38:54 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-07-07 13:40:50 -0300 |
commit | 1b4399dfe7eaa8dd2a75f35815ea429962c51a29 (patch) | |
tree | bdab5581deb27dda70a0a034535fe42667a01c20 /actionmailer | |
parent | 4cc5917dce83fb841ac78b250ef3d1024168eb1e (diff) | |
download | rails-1b4399dfe7eaa8dd2a75f35815ea429962c51a29.tar.gz rails-1b4399dfe7eaa8dd2a75f35815ea429962c51a29.tar.bz2 rails-1b4399dfe7eaa8dd2a75f35815ea429962c51a29.zip |
Fix regression caused by a01d164b
When preload is used in a default scope the preload_values were
returning nested arrays and causing the preloader to fail because it
doesn't know how to deal with nested arrays. So before calling preload!
we need to splat the arguments.
This is not needed to includes because it flatten its arguments.
Diffstat (limited to 'actionmailer')
0 files changed, 0 insertions, 0 deletions