From d49a5fcb4cfe90824337dc3756bae7161cea768b Mon Sep 17 00:00:00 2001 From: Michael Koziarski Date: Thu, 9 Feb 2006 09:17:40 +0000 Subject: * Fix pagination problems when using include * Introduce Unit Tests for pagination * Allow count to work with :include by using count distinct. [Kevin Clark & Jeremy Hopple] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3553 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/test/fixtures/project.rb | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 actionpack/test/fixtures/project.rb (limited to 'actionpack/test/fixtures/project.rb') diff --git a/actionpack/test/fixtures/project.rb b/actionpack/test/fixtures/project.rb new file mode 100644 index 0000000000..2b53d39ed5 --- /dev/null +++ b/actionpack/test/fixtures/project.rb @@ -0,0 +1,3 @@ +class Project < ActiveRecord::Base + has_and_belongs_to_many :developers, :uniq => true +end -- cgit v1.2.3