Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [45e6f19925f23c3db257c15371d8f512cca843cd] by Pratik Naik

Revision 45e6f19925f23c3db257c15371d8f512cca843cd, committed 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. http://github.com/rails/rails/co...

14 changed files

  • 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