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...

developer.mozilla.org

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...

makandra dev

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...

Jasmine is a great way to unit test your JavaScript components without writing an expensive end-to-end test for...

A flaky test is a test that is often green, but sometimes red. It may only fail on some PCs...

You want to use fields in your applications. However, your desktop users may encounter some weird quirks: Aside from allowing...

The gem better_errors offers a detailed error page with an interactive REPL for better debugging. I had the issue...