This project is archived and is in readonly mode.

Changeset [edb5401039ee15c37b201244c5dbf660bed51fb4] by Neeraj Singh

July 13th, 2010 @ 09:03 PM

count method should not take options if it is operated on has_many association which has finder_sql or counter_sql

[#2395 state:resolved]

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

Committed by Neeraj Singh

  • M activerecord/lib/active_record/associations/association_collection.rb
  • M activerecord/test/cases/associations/has_many_associations_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>