How to Open a New Tab Vim

Piechowski.io Development Blog
(Last Updated: 2022-02-10)

To open a new tab in vim, use :tabnew

Why is Ruby on Rails' default_scope bad?

(Last Updated: 2022-02-10)

A pretty popular opinion in the Ruby on Rails community is that default_scopes should not be used for any reason. However, often it's not fully explained why default_scopes are harmful to applications. Default Scopes are harmful because they are unexpected and hard to unscope.

Solved: ActionController::ParameterMissing (param is missing or the value is empty)

Piechowski.io Development Blog
(Last Updated: 2020-01-06)

When using Ruby on Rails' strong_params with require, there is a chance the key doesn't exist. When this happens, an ActionController::ParameterMissing exception is thrown.

Solved: Warning: Using the last argument as keyword parameters is deprecated

Piechowski.io Development Blog
(Last Updated: 2020-05-20)

Ruby 2.7 deprecated the use of hashes in the last argument of a method call. Fix this warning by removing the curly braces or adding a hash splat (**) to a variable argument.

Vim: How to Open Current Opened File in New Tab

Piechowski.io Development Blog
(Last Updated: 2020-01-06)

In vim, you can open the current file in a new tab by utilizing :tabnew %.

Rails: How to Use Greater Than/Less Than in Active Record where Statements

Piechowski.io Development Blog
(Last Updated: 2020-01-06)

When querying ActiveRecord for greater than and less than, most people turn to including raw SQL in their codebase... But raw SQL isn't required!

What is the best time for stand-up meetings?

Piechowski.io Development Blog
(Last Updated: 2020-05-14)

While it is common to hold daily stand-up scrum meetings in the morning, this might not be the best fit for your team. Sometimes it can be better for teams to hold their stand-up meetings later in the day.

Using Let and Context to Modularize RSpec Tests

Piechowski.io Development Blog
(Last Updated: 2020-01-06)

When test suites contain a lot of duplication, coupling occurs at an individual spec basis. By utilizing core RSpec functionality, developers can clean up specs in order to reduce duplication and add clarity to the focal point of the spec.

What is Fed vs Unfed Sourdough Starter?

(Last Updated: 2019-12-25)

Recipes call for either fed sourdough starter or unfed sourdough starter, but what's the difference?

My Father, My Mentor, My Teacher

(Last Updated: 2019-12-31)

My father is my mentor, and he's been teaching me how to be a great developer since I was young.