Skip to content

Ben's tire kicking (v2) notes - Movie Tracker #23

Description

@bpurinton

Movie Tracker with One Public Table and No Associations

/create-full-stack-app Help me build a movie tracking app. To start let anyone do basic CRUD on movies with a required title, year, and description. Ask about important decisions. Show me the Foundation Plan and gaps before compiling. For this test, I want the app in the workspace root, not ./application. Do not deploy it.

Hosted here: https://github.com/bpurinton/movie-tracker

Initial compilation, general questions

  • Is there a reason we don't have instructions to switch Claude to "auto mode"? I kept it in "manual mode" and approved each step, since I didn't see instructions otherwise.
  • After first compilation, the GH repo immediately got over a dozen dependency gem bump PRs open into it. I'm guessing this is expected, but somewhat surprising. Only one (solid_queue 1.4 to 1.7 bump) of these dependency PRs failed CI.
  • Should the /privacy and /terms routes get links in a footer? Currently there is no footer in the application layout.
  • Should sample data be generated and automatically hydrate the database? For a better development experience

Question about validated_return_to in controller

What's with the "validated_return_to" method? Is that really needed and not provided by Rails or by some gem that we could have included?

Claude explained it, and I'm satisfied, but found a bug, which I had it fix on: https://github.com/bpurinton/movie-tracker/commit/b474b3c6776768a11f049fc8ee94f1c4167c0ead

Add a search feature

Prompt:

Add a search field that filters movies by title. Work directly in the generated Rails source using conventional Rails. Add an appropriate test, run the relevant checks, and help me verify it in the live preview. Do not Compile again.

No notes, worked well. Commit: https://github.com/bpurinton/movie-tracker/commit/fb0e13212316eebb0a539317d3a0c8dff2ec7cf9

Add enum field to movies

Prompt:

Add an enum field to movies with some useful options for eventually turning the app into a viewing tracking app. Work directly in the generated Rails source using conventional Rails. Add appropriate tests, run the relevant checks, and help me verify it in the live preview. Do not Compile again.

Worked well, committed as: https://github.com/bpurinton/movie-tracker/commit/f0db8925195fe1f2a463c0fdc541037c57d9f9d5

active_record_doctor issue

As expected, we needed to make a followup commit to fix CI due to the enum-check quirk for AR doctor. Done here: https://github.com/bpurinton/movie-tracker/commit/af5a82c9f2498694446da466c1fe6259dbcabb2c

Other notes

None. Steps 1-8 went smoothly. Emitted app looks good and feature iteration works well.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions