1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib
Rafael Mendonça França 1b4399dfe7 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.
2015-07-07 13:40:50 -03:00
..
active_record Fix regression caused by a01d164b 2015-07-07 13:40:50 -03:00
rails/generators [ci skip] Correct grammar, add docs to ActiveRecord migration generator 2015-04-28 13:34:13 -07:00
active_record.rb Autoload ActiveRecord::RecordInvalid 2015-06-18 18:36:16 -03:00