tl;dr In Chrome DevTools in the Elements tab or in Firefox in the Inspector tab you can right click...
Here are a few common patterns that will probably lead to flaky specs. If you notice them in your specs...
tl;dr git checkout is the swiss army of git commands. If you prefer a semantically more meaningful command for...
New versions of wkhtmltopdf dissallow file:// URLs by default. You can allow them by passing --enable-local-file-access.
You have uncommited changes (you can always check by using git status), which you want to discard.
tl;dr In RubyMine you can use find and replace with capture groups (.*?) and backreferences $1 (if you have several...
If you need to convert an SVG source to PS or EPS, the most common suggestion on the interwebs is...
When your Rails application offers downloading a bunch of files as ZIP archive, you basically have two options:
These are the results of the "personal tech stack survey". I've included only the most popular mentions, maybe it...
The inset CSS property is a shorthand that corresponds to the top, right, bottom, and/or left properties. It has the...
In case you have trouble with the zeitwerk autoloader, you can check out the documentation Autoloading and Reloading Constants and...
Testing file download links in an end-to-end test can be painful, especially with Selenium. The attached download_helpers.rb provides...
I recently had the problem that embedded code boxes crashed my layout. It turned out that pres break out of...
Code quality can be measured in four levels: (Working code) Reliable code (minimum) Readable code (ok for short-lived code...
When you need information about a gem (like version(s) or install path(s)), you can use the gem binary...
Due to the way we setup Jasmine tests in our projects, you may run into various errors when Jasmine boots...
This card explains how to generate an entity relationship diagram for your Rails application. We also show how to limit...
Sometimes you will need an input field which wraps content and grows in height as soon as content gets longer...
RSpec's let allows you to super into "outside" definitions, in parent contexts. Example: describe '#save' do subject { described_class.new(attributes...
To ensure a consistent code style for JavaScript code, we use ESLint. The workflow is similar to integrating rubocop...
Building application assets with esbuild is the new way to do it, and it's great, especially in combination with...
RSpec Rails can automatically mix in different behaviors to your tests based on their type tag, for example enabling you...
TL;DR When using Cache-Control on a Rails application, make sure the Vary: Accept header is set.
Since GitLab 10.3. you can use Mermaid in GitLab comments: Gitlab Doc. With Mermaid you can create diagrams based on...