This project is archived and is in readonly mode.
Changeset [40e87ac66912b06c31c98b057a49c64f5555dd99] by Neeraj Singh
Revision 40e87ac66912b06c31c98b057a49c64f5555dd99,
committed by Neeraj Singh
· June 29th, 2010 @ 12:18 AM
with_exclusive_scope does not work properly if ARel is passed. It does work nicely if hash is passed. Blow up if user is attempting it pass ARel to with_exclusive_scope.
[#3838 state:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/40e87ac66912b06c31c98b057a49c6...
3 changed files
-
M
activerecord/lib/active_record/base.rb -
M
activerecord/test/cases/method_scoping_test.rb -
M
activerecord/test/models/developer.rb