sample_rails_tailwind/app/models
songtianlun bd5c6ae6bb feat: enhance user session management
- Update session creation to use safe navigation operator
- Implement log_out method in SessionsHelper
- Add session reset and login on user creation
- Improve user login tests for better coverage

These changes improve the user session management by ensuring
that the session is handled more safely and efficiently. The
addition of the log_out method centralizes session termination,
while the updated tests ensure that both login and logout
functionality are thoroughly validated.
2025-01-02 11:59:27 +08:00
..
concerns init sample-app 2024-12-29 17:12:54 +08:00
application_record.rb init sample-app 2024-12-29 17:12:54 +08:00
user.rb feat: enhance user session management 2025-01-02 11:59:27 +08:00