bundle outdated [--filter-major|--filter-minor|--filter-patch] Example output for bundle outdated --filter-major Other examples

Insomnia is a GUI tool to help you communicating with an API. There are also other tools to do this...

Consider the following models and form models: class Parent < ApplicationRecord has_many :children, class_name: 'Child', foreign_key: 'parent_id...

By default, your terminal emulator (Gnome Terminal, Terminator, etc.) sets some kind of window title to reflect the shell type...

johnnunemaker.com

PostgreSQL has partial indexes. With a partial index you tell Postgres to only index rows matching a given query.

Rails supports alert and notice as default flash types. This allows you to use these keys as options in e.g...

makandra dev

I just finished migrating a project from the Asset Pipeline to Webpacker, this is what my diff to master looks...

In case Ruby does not detected the expected encoding of a file automatically you can specify the known encoding manually...

nolanlawson.com

In my experience, the most common sources of memory leaks are APIs like these: addEventListener. This is the most common...

In Ruby you can communicate between processes with sockets. This might be helpful in tests that validate parallel executions or...

The ExceptionNotification has plugins that talk to external APIs rather then just sends emails, like microsoft teams or slack. You...

Ruby offers monkey patching methods in order to change the behavior of a library if there's no better way...

URLs can transport key/value pairs ("parameters") using this syntax: /path?foo=bar If the value is blank, mind these subtle...

In long diffs, it can become impossible to spot small changes in larger blocks of moved code. This may be...

TinyMCE is a WYSIWYG editor which is quite customizable. Add a custom button to the tinyMCE toolbar and tell tinyMCE...

Ruby's String#split returns an array of substrings from the given string. Usually, this is missing the split characters...

Whenever requires you to set the application attribute in your Capistrano configuration. Otherwise your cronjobs are created multiple times.

makandra dev
howvideo.works

This is an informational site about video and how it works. We started by talking about Playback, next we added...

makandra dev

Feature Queries (Edge 12+): Similar to @media queries, @supports blocks can be scoped to browsers that support a given declaration...

github.com

Liquid Prompt gives you a nicely displayed prompt with useful information when you need it. It shows you what you...

When deploying a Rails application that is using Webpacker and Capistrano, there are a few configuration tweaks that optimize the...

thoughtbot.com

While both the alt attribute and the figcaption element provide a way to describe images, the way we write for...

mtlynch.io

Why improve your code reviews? Improving code review technique helps your reviewer, your team, and, most importantly: you.

Sometimes you accidentally generate entries in the bash history that you do not want to have there (e.g. commands with...