The pages […] allow you to see different types of mixed content and test how they behave in your browser. The...
Sometimes you want to have a time in a given timezone independent from you Rails timezone settings / system timezone. I...
Recently I made an upgrade from Bootstrap 3 to Bootstrap 4 in a bigger project. Here are some tips how...
By default, your terminal emulator (Gnome Terminal, Terminator, etc.) sets some kind of window title to reflect the shell type...
Rails 6 includes a WYSIWYG editor, Action Text. It works out of the box quite well, but chances are that...
I just finished migrating a project from the Asset Pipeline to Webpacker, this is what my diff to master looks...
Ruby offers monkey patching methods in order to change the behavior of a library if there's no better way...
In long diffs, it can become impossible to spot small changes in larger blocks of moved code. This may be...
Headless Chrome is a way to run the Chrome browser without a visible window. Configuring Capybara Configure the Capybara driver...
Whenever requires you to set the application attribute in your Capistrano configuration. Otherwise your cronjobs are created multiple times.
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...
The linked blog post contains some background information about the alt attribute and the figure / figcaption element. It is interesting...
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...
This card is mainly an explanation how variable fonts work in CSS, not necessarily a recommendation to actually use them...
You need to install the official plugin, it is not bundled with RubyMine by default. Example: Setup a watcher...
curl-to-ruby is a handy tool that converts your curl command to ruby code that uses the Net::HTTP...
In Rubocop you might notice the cop Style/CaseEquality for e.g. this example: def foo(expected, actual) expected === actual end
Here is a short summary of Cucumber hooks in Ruby taken from https://github.com/cucumber/cucumber-ruby. Note that the BeforeStep is...
Sometimes you want to find the inverse of an ActiveRecord scope. Depending on what you want to achieve, this is...
We currently test most of our gems on Travis CI, but want to migrate those tests to Github Actions. This...
On some of our older projects, we use the mysql2 gem. Unfortunately, versions 0.2.x (required for Rails 2.3) and...
When loading a database dump created with pg_dump into your database, you might run into an error like