# Problems with scaffold generated list

**URL:** <https://www.ruby-forum.com/t/problems-with-scaffold-generated-list/120927>\
**Category:** Rails\
**Created:** [November 21, 2007, 8:46pm UTC](https://www.ruby-forum.com/t/problems-with-scaffold-generated-list/120927 "2007-11-21T20:46:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![crispy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/e47774/32.png) [@crispy](https://www.ruby-forum.com/u/crispy)\
**Post date:** [November 21, 2007, 8:46pm UTC](https://www.ruby-forum.com/t/problems-with-scaffold-generated-list/120927/1 "2007-11-21T20:46:10Z")

</div>

There appears to be a problem with LIST generated from scaffold.  
I just dumped the contents of a table that stores Service Pack  
Descriptions…

ID Title  
1 Any  
2 SP0  
3 SP1  
4 SP2  
5 SP3  
6 SP4  
7 SP5  
8 SP6  
9 SP7  
10 SP8  
11 SP9  
12 SP10

Notice there are 12 entries.  
From a rails generated scaffold with no modification, I get the  
following for the 1st page of LIST…  
Listing service\_packs  
Title  
Any Show Edit Destroy  
SP0 Show Edit Destroy  
SP1 Show Edit Destroy  
SP2 Show Edit Destroy  
SP3 Show Edit Destroy  
SP4 Show Edit Destroy  
SP5 Show Edit Destroy  
SP6 Show Edit Destroy  
SP7 Show Edit Destroy  
SP8 Show Edit Destroy  
Next page  
New service\_pack

So good so far, but them pressing next page, I get…

Listing service\_packs  
Title  
Any Show Edit Destroy  
SP0 Show Edit Destroy  
Previous page  
New service\_pack

Notice it just shows the fist two entries, instead of 9 - 12 like it  
should…

Does anyone know what is happening here and how I can correct it?
