It most cases it's not necessary to add a version constraint next to your gems in the Gemfile. Since...
Code splitting is a feature of esbuild that can keep huge libraries out of the main bundle. How code splitting...
tl;dr asdf allows you to manage multiple runtime versions with a single CLI tool and is backwards compatible by...
Maintaining larger projects makes it more difficult to balance refactoring and upgrade tasks according to its actual value. Consider to...
If you use a newer SSH key generated with the ED25519 algorithm instead of RSA (see Create a new SSH...
This is a checklist I use to work on issues. For this purpose I extracted several cards related to the...
Sometimes I ran across a GitHub merge request of a gem where it was not completely obvious in which version...
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...
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...
ActiveType::Object inherits from ActiveRecod::Base and is designed to behave like an ActiveRecord Object, just without the database...
When working with feature branches, stale branches pile up over time. It's best to remove them right after merge...
This should be fixed in the latest LTS-branches of our mysql2 fork, 0.2.x-lts and 0.3.x-lts...
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...
The Interactive Advertising Bureau (IAB) is a European marketing association which has introduced a standard how advertising can be served...
Since GitLab 10.3. you can use Mermaid in GitLab comments: Gitlab Doc. With Mermaid you can create diagrams based on...
The RSpec matcher tests if two HTML fragments are equivalent. Equivalency means: Whitespace is ignored Types of attribute quotes are...
To start a workflow manually it must have a trigger called workflow_dispatch: --- name: Tests on: push: branches: - master
If you have a flaky command you can use the nick-invision/retry to re-try a failing command, optionally...
Accessing other repositories in Gitlab CI is not straight forward, since the access rights of the current pipeline might not...
When deleting a record in your Rails app, Carrierwave automatically takes care of removing all associated files. However, the file...
Use rules to include or exclude jobs in pipelines. Rules are evaluated in order until the first match. When a...