This project is archived and is in readonly mode.

#4148 ✓committed
Aaron Patterson

remove spawn method from active_record/relation/spawn_methods.rb

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

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.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Pages