Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added :count option to pagination that'll make it possible for the ↵ | David Heinemeier Hansson | 2006-02-20 | 1 | -2/+17 |
| | | | | | | ActiveRecord::Base.count call to using something else than * for the count. Especially important for count queries using DISTINCT #3839 [skaes]. Added :select option to Base.count that'll allow you to select something else than * to be counted on. Especially important for count queries using DISTINCT (closes #3839) [skaes]. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3620 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | * Fix pagination problems when using include | Michael Koziarski | 2006-02-09 | 1 | -0/+146 |
* 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 |