Sometimes it's nice to have some coloring in your logs for better readability. You can output your logs via...
To find an input with the type hidden, you need to specify the type hidden: find_field('Some label', type...
We can use ActiveRecord's where to add conditions to a relation. But sometimes our condition is not on the...
TLS/SSL certificates are often used for HTTPS traffic. Occasionally a service may also use their TLS certificate to support public...
The linked article has a great explanation how to to deal with string encodings in Ruby. Furthermore you can check...
Or: How to avoid and refactor spaghetti code Please note that I tried to keep the examples small. The effects...
Imagine you want to write a cucumber test for a user-to-user chat. To do this, you need the...
This is a personal post-mortem analysis of a project that was mainly build to provide a REST API to...
PostgreSQL and ActiveRecord have a good support for storing dynamic attributes (hashes) in columns of type JSONB. But sometimes you...
Sometimes, you might have duplicate links on a page. Trying to click those links will by default cause Capybara to...
Root Insurance runs their application as a monolithic Rails application – but they've modularized it inside its repository. Here is...
This checklist should help you to check edge cases that are not part of the default Carrierwave configuration.
When you have two inputs, where one contains the name of the other (eg. Name and Name with special treatment...
Debugging image color profiles is hard. You can't trust your eyes in this matter, as the image rendering depends...
SimpleScreenRecorder I recommend simplescreenrecorder, it produces an adequate output with only a few clicks. The audio recording contained some...
Browsers come with a set of built-in elements like or . When we need a new component not covered by...
If you want to make your Rails application be capable of sending SMTP emails, check out the action mailer configuration...
Im using the terminator terminal with the keyboard shortcut Control+Shift+E for splitting the terminal. I got used to...
Install the latest bundler version: gem install bundler Fetching bundler-2.3.5.gem Successfully installed bundler-2.3.5 1 gem installed Update the bundler...
For newer Ubuntu versions we currently need to install the patch level version 1.8.7-p375, otherwise the dev dependencies from...
When tests might not run with skipping RSpec in the RSpec.describe failing with the error undefined method 'describe' for main...
A primer on vector graphics For rastered image formats like JPG or PNG, each pixel is basically drawn on a...
So I had the issue that User input (coming from many different sources and users) often contains the...
Fixed #68: The "cucumber" command now fails early when @solo features fail. Added: The "setup" command now prints the db...