I am working on rails 2 application I need to work with the 8000 records and show them in table.
I need to do limit to the loading record.
Like from 8000 records I want to show 10 records then only 10 records are display then click on next button next 10 record should be shown.
LIke pagination but could not do pagination because it load all 8000 records at a time.and it takes too much of time.
I think offset and limit help me but I could not know how to use it.
My basic query is
@users = @client.users
I also try datatable server side but it is not working.
Please help me.
THanks