While renaming a file sometimes feels like "dropping its history", that is not true: Just use git log --follow on...
Browsers usually cache website content in order to provide the user with faster responses. Examples are returning to a website...
You can publish pre-release versions of an npm package. Naming convention for pre-release versions An npm package must...
When a Ruby version gem has a letter in its version number, it is considered a pre-release:
When deleting a record in your Rails app, Carrierwave automatically takes care of removing all associated files. However, the file...
This card is a general reminder to avoid the short version of a command option in shared code. It's...
Installing gems on a server that has no access to the internet (especially rubygems.org) requires to bundle the gems into...
If a project ist configured to spawn CI runners for tests or deployment when pushing to the Repo, a habit...
In newer passenger versions the output of passenger -v has changed. capistrano-passenger tries to parse the version and now...
Ruby 3.0 introduced a breaking change in how it treats keyword arguments. There is an excellent blog post on the...
When your Rails application server raises error, Capybara will fail your test when it clears the session after the last...
When your application is open for public sign up and sends out transactional e-mails to a large number of...
In Ruby (almost) everything is an Object. While this enables a lot of powerful features, this concept might be confusing...
We had the issue, that a VCR spec failed, after updating CarrierWave from version 0.11.0 to 1.3.2. In this version...
CarrierWave comes with a set of default configuration options which make sense in most cases. However, you should review these...
tl;dr: Upgrade the gem to at least 4.0.1 When you use rspec_rails in a version < 4 with Rails...
A rough guide how to implement a REST API. The discussion here includes some interesting points as well: Timestamps: ISO8601...
If your project depends on an old version of ImageMagick that you can no longer install in your system, you...
You can use git worktree to manage multiple working trees attached to the same repository. But why should I use...
bundle outdated [--filter-major|--filter-minor|--filter-patch] Example output for bundle outdated --filter-major Other examples
Recently I made an upgrade from Bootstrap 3 to Bootstrap 4 in a bigger project. Here are some tips how...
When running an older version of docker-compose you might see the following error: ERROR: Version in "./docker-compose.yml" is unsupported...
Rails 6 includes a WYSIWYG editor, Action Text. It works out of the box quite well, but chances are that...
There are several tools for DNS debugging which offer you more or less information. Most of the time the more...