makandra Curriculum

...on projects at makandra: how requirements become issues, how issues move through review and merge, and how changes reach production. Important Work on this lesson in advisor mode. Learning goals...

...review, and squashed commits that keep history traceable with git blame. You use our merge request checklist on every merge request. You prepare every merge request so a reviewer's...

makandra Curriculum

...that stays simple. You can model an interaction that touches several records, such as merging two of them, as a form model without its own table. You can judge whether...

Implement the login form using ActiveType::Object Implement a screen to merge two movies. Flat attributes are copied from the source movie if it is missing on...

...reviewed your code. From now on you will also review code yourself: your colleagues' merge requests and β€” more and more β€” code that an agent wrote for you. Reviewing is a...

...and say what is good. You can explain our review process: feature branches, the merge request checklist, gatekeeping. You can explain what is different about reviewing agent-generated code, and...

makandra Curriculum

Git is our version control system. This lesson covers the everyday moves β€” committing, branching, merging, working with a remote β€” and the habits that make your history pleasant to review.

...commit, and inspect history and diffs. You can work with branches: create, switch and merge them, and explain what a fast-forward merge is. You can put uncommitted changes aside...

...the reflog, restore a file from another branch. You can explain the difference between merging and rebasing when pulling, and our cherry-pick workflow for production branches. You follow our...

...advisory for cherry-picks to production branches πŸ“„ Always pull with rebase πŸ“„ RubyMine's visual merge conflict resolution Reference πŸ“„ Confusing git terminology β€” Julia Evans; read when a term doesn't make...

...your main session, e.g. to discuss the first results. Review both diffs yourself and merge them. What did you have to decide upfront that a subagent would otherwise have guessed...

...on every screen. No one-off wrappers that exist only for styling. In your merge request description, name the spacing variant you chose, and list each block with its responsibility...

Best results in other decks

...stale branches pile up over time. It's best to remove them right after merge, locally and on the remote, but it is a little tedious: you need to remember...

Enter Git hooks. The folks at Liquid Light have built a little post-merge hook that will delete a feature branch on confirmation. Quick aside: Git hooks location

When trying to intersect conditions of two scopes, be careful with ActiveRecord::Relation#merge: it overwrites existing conditions on the same column. This may cause the relation to select more...

...authorized_users.merge(filtered_users).to_sql # => SELECT * FROM users WHERE id IN (2, 3) The merged relation select the users (2, 3), although we are only allowed to see...

Search in all decks