Skip to content

hw-0: Rails 8 app with sorcery authentication#6

Closed
klondaiker wants to merge 4 commits intodapi:mainfrom
klondaiker:hw-0
Closed

hw-0: Rails 8 app with sorcery authentication#6
klondaiker wants to merge 4 commits intodapi:mainfrom
klondaiker:hw-0

Conversation

@klondaiker
Copy link
Copy Markdown
Contributor

Summary

  • Generate Rails 8.1.3 app (Ruby 4.0.2, PostgreSQL, Hotwire, Tailwind CSS v4)
  • Add sorcery gem for login/password authentication
  • Registration and login pages, protected root page with greeting
  • 9 controller tests, all passing

Test plan

  • bin/rails test — все тесты зелёные
  • bin/rails s — сервер стартует без ошибок
  • Регистрация нового пользователя
  • Ошибка при дублирующем логине
  • Авторизация → страница "Привет, login"
  • Редирект на логин для неавторизованных

🤖 Generated with Claude Code

klondaiker and others added 4 commits March 27, 2026 17:59
- Generate Rails 8.1.3 app (Ruby 4.0.2, PostgreSQL, Hotwire, Tailwind CSS v4)
- Add sorcery gem for authentication with login/password
- Implement UsersController (registration) and SessionsController (login/logout)
- Add HomeController with greeting page protected by require_login
- Write controller tests (9 tests, all passing)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@klondaiker klondaiker closed this Mar 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant