Skip to content

Conversation

@jbakerdev
Copy link
Owner

@jbakerdev jbakerdev commented Sep 28, 2025

I started my own simple auth way back, but never finished (and never pushed more than the user model). Adding the default rails 8 auth as a starting point for other things.

  • Remove my first attempt, then run the rails 8 authentication generator

  • Customize the boilerplate:

    • Build out some user fixtures and tests
    • Use view components where practical
    • Change verbiage to be Tron-inspired ("Identify yourself, User") because I'm feeling retro
  • Changes:

    • Allow unauthenticated access on home page
  • Additions:

    • Add sign out button to navbar
    • Add a system test helper for authentication (the helper built into Rails 8.1 only works for controller tests)

@jbakerdev jbakerdev merged commit 75e933e into main Sep 29, 2025
11 of 12 checks passed
@jbakerdev jbakerdev deleted the feature/auth branch September 29, 2025 17:44
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.

2 participants