aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/pagination.rb
Commit message (Collapse)AuthorAgeFilesLines
* Added :count option to pagination that'll make it possible for the ↵David Heinemeier Hansson2006-02-201-1/+8
| | | | | | 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 includeMichael Koziarski2006-02-091-7/+6
| | | | | | | | | | * 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
* Update paginator docs. Closes #2744.Jeremy Kemper2005-11-051-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2878 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update/clean up AP documentation (rdoc)Jamis Buck2005-10-161-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2649 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add option to specify the singular name used by pagination. Closes #1960Nicholas Seckar2005-08-311-2/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2078 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add support for :include with pagination (subject to existing constraints ↵Jamis Buck2005-08-231-11/+22
| | | | | | for :include with :limit and :offset) #1478 [michael@schubert.cx] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2041 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More pagination speed #1334 [Stefan Kaes]David Heinemeier Hansson2005-07-151-3/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1839 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made pagination faster #1334 [Stefan Kaes]David Heinemeier Hansson2005-07-141-21/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1832 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed pagination to work with joins #1034 [scott@sigkill.org]David Heinemeier Hansson2005-04-131-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added pagination for scaffolding (10 items per page) #964 [mortonda@dgrmm.net]David Heinemeier Hansson2005-04-021-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1067 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tweaked the documentationDavid Heinemeier Hansson2005-03-211-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@967 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added pagination support through both a controller and helper add-on #817 ↵David Heinemeier Hansson2005-03-201-0/+378
[Sam Stephenson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@949 5ecf4fe2-1ee6-0310-87b1-e25e094e27de