rubyfunctions
rubyfunctions copied to clipboard
Add pagination instead of limiting records
-
Problem The records are limited to a fixed number.
-
Solution Add pagination using the Pagy gem. (I chose it because it's faster than other gems available)
There is pagination implemented in user page to show more of his functions and saved functions, that could be also used in the timelines controller
On Mon, Apr 13, 2020, 5:18 PM ahmadabdelhalim [email protected] wrote:
Problem The records are limited to a fixed number.
Solution Add pagination using the Pagy gem. (I chose it because it's faster than other gems available)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/emad-elsaid/rubyfunctions/issues/48, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAANJAZBEROJZHTUXHFUC2TRMMUM7ANCNFSM4MHAXWYA .
Yeah, didn't notice that. I can add it to the timelines controller as well.
@ahmadabdelhalim nice, I'll wait for a PR then :smiley: