This project is archived and is in readonly mode.

Changeset [40e87ac66912b06c31c98b057a49c64f5555dd99] 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...

Committed by Neeraj Singh

  • M activerecord/lib/active_record/base.rb
  • M activerecord/test/cases/method_scoping_test.rb
  • M activerecord/test/models/developer.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>