I have a very complex SQL Server 2000 database
And I created a bunch of complex views to
make access of some information easier
and have “tables” that have ROR like naming
All I have to do is get information from the DB, I never have to write
into it using Rails
Now If I get a page (10 records by default) just original scaffold,
nothing changed
All the pages are the same, the number updates, but the content doesn’t
differ
if I change the default to 20 records, I get the 20 first records
correctly,
but next page gives me the same 20 records
Any ever seen this and knows where I have to start looking?
Try adding an ordering to your query. The SQL Server adapter doesn’t
handle pagination very well, and can fail completely where there is no
ordering on the query.