This project is archived and is in readonly mode.

Changeset [45e6f19925f23c3db257c15371d8f512cca843cd] by Pratik Naik

July 1st, 2009 @ 12:02 AM

Revert "Revert "Generate proper :counter_sql from :finder_sql when there is a newline character immediately following 'SELECT' [#2118 state:resolved]""

This reverts commit 80f1f863cd0f9cba89079511282de5710a2e1832.

The feature doesn't work on Postgres, so don't test it on Postgres. Also, Postgres compatibility is irrelevant to the ticket/patch in question.

Committed by Pratik Naik

  • M activerecord/lib/active_record/associations/association_collection.rb
  • M activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb
  • M activerecord/lib/active_record/associations/has_many_association.rb
  • M activerecord/lib/active_record/associations/has_many_through_association.rb
  • M activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb
  • M activerecord/test/cases/associations/has_many_associations_test.rb
  • M activerecord/test/cases/base_test.rb
  • M activerecord/test/cases/calculations_test.rb
  • M activerecord/test/cases/finder_test.rb
  • M activerecord/test/cases/inheritance_test.rb
  • M activerecord/test/cases/reflection_test.rb
  • M activerecord/test/fixtures/companies.yml
  • M activerecord/test/models/company.rb
  • M activerecord/test/models/project.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=""></a>