Go to file
songtianlun ccd6b02a98 feat: add remember me functionality for user sessions
- Implement remember method in User model to generate and store a remember token
- Update SessionsController to call remember on successful login
- Enhance current_user method to retrieve user from cookies if session is not present
- Add forget method to clear remember token on logout
- Create migration to add remember_digest column to users table
2025-01-02 16:47:26 +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 remember me functionality for user sessions 2025-01-02 16:47:26 +08:00
bin feat: update asset management and add bundling tools 2025-01-02 14:45:44 +08:00
config fix: correct typos and improve logout link 2025-01-02 15:17:27 +08:00
db feat: add remember me functionality for user sessions 2025-01-02 16:47:26 +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 fix: correct typos and improve logout link 2025-01-02 15:17:27 +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 feat: update asset management and add bundling tools 2025-01-02 14:45:44 +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: update asset management and add bundling tools 2025-01-02 14:45:44 +08:00
Gemfile.lock feat: update asset management and add bundling tools 2025-01-02 14:45:44 +08:00
Guardfile finish 2024-12-30 00:09:54 +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

  • ...