• R
    Use `load` rather than `collect` for force loading · 59db5f22
    Ryuta Kamizono 提交于
    Since b644964b `ActiveRecord::Relation` includes `Enumerable` so
    delegating `collect`, `all?`, and `include?` are also unneeded.
    `collect` without block returns `Enumerable` without preloading by that.
    We should use `load` rather than `collect` for force loading.
    59db5f22
has_many_associations_test.rb 81.4 KB