This project is archived and is in readonly mode.

Changeset [231d7676f72947bae765b9bd885b134aaf949921] by Josh Kalderimis

May 9th, 2010 @ 11:14 AM

corrected AR find_each and find_in_batches to raise when the user uses select but does not specify the primary key

Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/231d7676f72947bae765b9bd885b13...

Committed by Josh Kalderimis

  • M activerecord/lib/active_record/relation/batches.rb
  • M activerecord/test/cases/batches_test.rb

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>