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...
To attach files to your records, you will need a new database column representing the filename of the file...
We prefer to run our end-to-end tests with headless Chrome. While it's a very stable solution overall...
capybara-lockstep can help you with flaky end-to-end tests: This Ruby gem synchronizes Capybara commands with client-side...
To ensure Spring is not running: bin/spring stop pkill -f spring To prevent Spring from starting again: export DISABLE_SPRING...
5.4.0 2021-02-01 Compatible changes Add geordi branch command that checks out a feature branch based on a story...
We had the issue, that a VCR spec failed, after updating CarrierWave from version 0.11.0 to 1.3.2. In this version...
ZSH is an alternative command line shell that includes some features like spelling correction, cd automation, better theme, and plugin...
By default parallel_tests will spawn as many test processes as you have CPUs. If you have issues with flaky...
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...
When you repeat a subpattern with a *, + or {...} operator, you may choose between greedy, lazy and possessive modes. Switching modes...
Recently I made an upgrade from Bootstrap 3 to Bootstrap 4 in a bigger project. Here are some tips how...
Rails 6 includes a WYSIWYG editor, Action Text. It works out of the box quite well, but chances are that...
I just ran into this deployment error after switching from the asset pipeline to webpack: 01:05 deploy:assets:precompile...
I just finished migrating a project from the Asset Pipeline to Webpacker, this is what my diff to master looks...
The Truemail gem (not to be confused with truemail.io) allows validating email addresses, e.g. when users enter them into a...
In long diffs, it can become impossible to spot small changes in larger blocks of moved code. This may be...
Whenever requires you to set the application attribute in your Capistrano configuration. Otherwise your cronjobs are created multiple times.
Using Ruby 1.8.7 you will not be able to use the maximum versions Rubygems 1.8.30 and Bundler 1.17.3 with https://...