Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

remove spawn method from active_record/relation/spawn_methods.rb

#4148

This patch refactors the "reset" method to be called from "initialize_copy". I found that all Relation objects were cloned via the "spawn" method, so it was safe to move "reset" to initialize_copy and remove the spawn method.

Reported by Aaron Patterson · March 10th, 2010 @ 05:00 PM

State: committed
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. Aaron Patterson
    Aaron Patterson
    • State changed from new to committed

    March 10th, 2010 @ 09:32 PM