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/developers.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 actionpack/test/fixtures/developers.yml (limited to 'actionpack/test/fixtures/developers.yml') diff --git a/actionpack/test/fixtures/developers.yml b/actionpack/test/fixtures/developers.yml new file mode 100644 index 0000000000..308bf75de2 --- /dev/null +++ b/actionpack/test/fixtures/developers.yml @@ -0,0 +1,21 @@ +david: + id: 1 + name: David + salary: 80000 + +jamis: + id: 2 + name: Jamis + salary: 150000 + +<% for digit in 3..10 %> +dev_<%= digit %>: + id: <%= digit %> + name: fixture_<%= digit %> + salary: 100000 +<% end %> + +poor_jamis: + id: 11 + name: Jamis + salary: 9000 \ No newline at end of file -- cgit v1.2.3