Go to file
songtianlun 022eae3029 feat: add pagination to user index view
- Integrate Kaminari for pagination of users
- Update users_controller to paginate users
- Add pagination views for first, last, next, and previous pages
- Seed database with example users for testing

This commit introduces pagination to the user index view, allowing
for better navigation through large sets of users. The Kaminari gem
is utilized to handle pagination, improving the user experience by
reducing load times and enhancing usability. Additionally, the
seeding script has been updated to create multiple users for
better testing of the pagination feature.
2025-01-05 17:50:33 +08:00
.github init sample-app 2024-12-29 17:12:54 +08:00
.kamal init sample-app 2024-12-29 17:12:54 +08:00
app feat: add pagination to user index view 2025-01-05 17:50:33 +08:00
bin feat: update asset management and add bundling tools 2025-01-02 14:45:44 +08:00
config feat: add pagination to user index view 2025-01-05 17:50:33 +08:00
db feat: add pagination to user index view 2025-01-05 17:50:33 +08:00
lib/tasks init sample-app 2024-12-29 17:12:54 +08:00
log init sample-app 2024-12-29 17:12:54 +08:00
public init sample-app 2024-12-29 17:12:54 +08:00
script init sample-app 2024-12-29 17:12:54 +08:00
storage init sample-app 2024-12-29 17:12:54 +08:00
test feat: add pagination to user index view 2025-01-05 17:50:33 +08:00
tmp init sample-app 2024-12-29 17:12:54 +08:00
vendor init sample-app 2024-12-29 17:12:54 +08:00
.dockerignore init sample-app 2024-12-29 17:12:54 +08:00
.gitattributes init sample-app 2024-12-29 17:12:54 +08:00
.gitignore chore: remove IDE configuration files 2025-01-04 09:46:50 +08:00
.rubocop.yml init sample-app 2024-12-29 17:12:54 +08:00
.ruby-version add website struct 2024-12-30 13:23:22 +08:00
config.ru init sample-app 2024-12-29 17:12:54 +08:00
Dockerfile init sample-app 2024-12-29 17:12:54 +08:00
Gemfile feat: add pagination to user index view 2025-01-05 17:50:33 +08:00
Gemfile.lock feat: add pagination to user index view 2025-01-05 17:50:33 +08:00
Guardfile style: standardize quotation marks and spacing 2025-01-04 10:21:22 +08:00
package-lock.json feat: update asset management and add bundling tools 2025-01-02 14:45:44 +08:00
package.json feat: update asset management and add bundling tools 2025-01-02 14:45:44 +08:00
Procfile.dev feat: update asset management and add bundling tools 2025-01-02 14:45:44 +08:00
Rakefile init sample-app 2024-12-29 17:12:54 +08:00
README.md init sample-app 2024-12-29 17:12:54 +08:00
yarn.lock feat: update asset management and add bundling tools 2025-01-02 14:45:44 +08:00

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

  • System dependencies

  • Configuration

  • Database creation

  • Database initialization

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions

  • ...