After upgrading to Rails 6.1.7.2 one of our apps printed a wall of warnings while booting: /var/www/app/shared/bundle/ruby/2.6.0/gems/net-protocol-0.2.1/lib/net/protocol.rb:68: warning: already...

phili.pe

The linked article found a simple way to rewrite legacy git aliases to make them work with differently named default...

bundler.io

Bundler so far ignored the version specified under BUNDLED_WITH in the Gemfile.lock. This had two annoying consequences:

makandra dev

In a Jasmine spec you want to spy on a function that is imported by the code under test. This...

This can happen with a very simple model: class Note has_many :attachments end Everything looks normal: Note.all.to_a.size # => 8 Note.all.ids.size...

Git allows you to set push options when pushing a branch to the remote. You can use this to build...

github.com

ActiveType::Object inherits from ActiveRecod::Base and is designed to behave like an ActiveRecord Object, just without the database...

makandra dev

tl;dr git checkout is the swiss army of git commands. If you prefer a semantically more meaningful command for...

makandra dev

tl;dr git checkout is the swiss army of git commands. If you prefer a semantically more meaningful command for...

You have uncommited changes (you can always check by using git status), which you want to discard.

Ruby's standard library includes a class for creating temporary directories. Similar to Tempfile it creates a unique directory name...

If you want to see the git history of a project file, that doesn't exist anymore, the normal git...

makandracards.com

Resolve @{-1} to actual branch name. (Happens when merging "-".)

When working with feature branches, stale branches pile up over time. It's best to remove them right after merge...

These are the results of the "personal tech stack survey". I've included only the most popular mentions, maybe it...

This should be fixed in the latest LTS-branches of our mysql2 fork, 0.2.x-lts and 0.3.x-lts...

Issue: You have an app using jsbundling-rails and esbuild. After deploy, the assets built by esbuild are missing in...

The gemspec for gems allows to add metadata to your gem, some of which have a special meaning and are...

When you need information about a gem (like version(s) or install path(s)), you can use the gem binary...

makandra dev

To ensure a consistent code style for JavaScript code, we use ESLint. The workflow is similar to integrating rubocop...

Building application assets with esbuild is the new way to do it, and it's great, especially in combination with...

You want to deploy new features but the latest commits are not ready for production? Then use git merge master...

dev.to

In my case [...] the catalog is an XML that contains all kinds of possible products, categories and vendors and it...

The Interactive Advertising Bureau (IAB) is a European marketing association which has introduced a standard how advertising can be served...