TIL 5/27/2026

Published: (May 27, 2026 at 06:08 PM EDT)
1 min read
Source: Dev.to

Source: Dev.to

Process Overview

  • Include the devise gem in your Gemfile

    gem 'devise'
  • Install the gem

    bundle install
  • Generate Devise files (e.g., the users model)

    rails generate devise:install
    rails generate devise User
  • Review the generated migration file and then run the migration

    rails db:migrate
  • Adjust the sign‑out method in config/initializers/devise.rb

    # Change the default sign out method
    config.sign_out_via = :get
  • Start the Rails server and verify that the authentication routes work

    • Sign‑up page: http://localhost:3000/users/sign_up
    • Sign‑in page: http://localhost:3000/users/sign_in
  • The initial setup succeeded.

  • Continued development using Claude’s code window.

    • Noted high token consumption because Claude re‑read the entire file on each change.
  • Asked Claude for a recommended next step (building a habit route) and leveraged First Draft Study Buddy to scaffold the code.

  • Revised plan:

    1. Write as much code as possible with Study Buddy.
    2. Manually implement the core RCAV (Read‑Create‑Update‑Validate) functionality.
  • When Claude credits become available again, use Claude to troubleshoot remaining bugs.

0 views
Back to Blog

Related posts

Read more »