This project is archived and is in readonly mode.
Changeset [231d7676f72947bae765b9bd885b134aaf949921] by Josh Kalderimis
Revision 231d7676f72947bae765b9bd885b134aaf949921,
committed 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...
2 changed files
-
M
activerecord/lib/active_record/relation/batches.rb -
M
activerecord/test/cases/batches_test.rb