Even though Git has been the dominant VCS for over a decade, some popular open-source projects don't properly accredit contributors. Open-source projects have a ethical obligation to properly portray the work that was done to the project.
Composing queries with ActiveRecord and .arel_tables to select individual columns results in long lines. By delegating `arel_tables to ., queries have a more readable interface without losing context. Delete .arel_tables from all usages; gain sanity dealing with complex queries.
Forking open source repositories is a standard way of contributing to open source projects. At Rietta, a small agency, all developers fork internal repositories when working on client projects.
When handling currency in MySQL, use DECIMAL(13,2) for general use and DECIMAL(13,4) if GAAP Compliance is needed.
Git add --patch can help keep code changes relevant with their commits. When changes are unsplittable, we can use Manual-Hunk to split changes line by line.
Keep those nasty .gitignored files like node_modules/ from clogging up fzf fuzzy finder and show commited, hidden files such as .circleci/config.
Git rebase flows result in clean history. Squashing code review fixups into the PR make it hard to see what changed. Rietta devs use --autosquash instead.
Git reset can help tidy up your Git workflow, this blog post will cover some ways how.
There are different ways we can store currency in PostgreSQL, this blog post will cover the money and numeric type.