If you need to test some HTML, e.g. an embed code, you can use RubyMine's "scratch files":
We can use ActiveRecord's where to add conditions to a relation. But sometimes our condition is not on the...
You can use the CSS property mask-image to define an "alpha channel" for an element. E.g. to let an...
TLS/SSL certificates are often used for HTTPS traffic. Occasionally a service may also use their TLS certificate to support public...
To set a default Node version for new shells, use nvm alias default : nvm alias default 1.2.3
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...
Before you continue, ensure that you've created your certificate in the region us-east-1 (N. Virginia). Otherwise...
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...
To test that an object was constructed by a given constructor function, use jasmine.any(Klass): describe('plus()', function() { it ('returns...
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...
It's every developer's nightmare: SQL queries that get large and unwieldy. This can happen fairly quickly with the...
Bundler 2 introduced various incompatibilites und confusing behavior. To add to the confusion, Bundler's behavior changed after the release...
Im using the terminator terminal with the keyboard shortcut Control+Shift+E for splitting the terminal. I got used to...
aws rds describe-db-instances | jq '.[][] | select(.DeletionProtection == false) | .DBInstanceIdentifier' | xargs -L1 -t aws rds modify-db-instance --deletion-protection...