DEV Community

NoFoster
NoFoster

Posted on

TIL 5/27/2026

Spin up from FirstDraft Co-pilot.

It's been a while since I've done this, so I'll outline the process.

  1. Include devise gem on gemfile
  2. bundle install devise gem
  3. run rails generate file from co-pilot with users line
  4. check generated migration file
  5. run rails db:migrate
  6. Change config.sign_out_via = :get on the config/initializers/devise.rb file
  7. Spin up app, check that /users/sign_up and /users/sign_in screens work
  8. First go through was successful
  9. I began working off of Claude Code window to help run the rest of the files
  10. Files ran, and routes began to be built out, but I learned that tokens ran out quickly because Claude was re-reading the whole file and making changes which is very expensive.
  11. Next step was to get claude to recommend a path forward (build out habit route), then leverage first draft study buddy to help me build out that code.
  12. New plan of attack - write out as much code using study buddy, build out the basic RCAV functionality by hand
  13. Leverage Claude Claude once credits are available to work out bugs.

Top comments (0)