bundler.io

Bundler so far ignored the version specified under BUNDLED_WITH in the Gemfile.lock. This had two annoying consequences:

Timecop is a great gem to set the current time in tests. However, it is easy to introduce flakyness to...

Usually, design development starts with drafts, sketches and prototypes. These are reviewed, refined and iterated until the final design is...

In a Jasmine spec you want to spy on a function that is imported by the code under test. This...

By default subscript ( ) and superscript ( ) tags are styled with vertical-align: sub, respectively vertical-align: super by most browsers.

In esbuild, you usually import other files using relative paths: import './some-related-module' import `../../utils/some-utility-module` import `../../../css/some-css.sass` This is totally fine...

Jasmine specs for the frontend often need some DOM elements to work with. Because creating them is such a common...

Jasmine specs that work with DOM elements often leave elements in the DOM after they're done. This will leak...

tl;dr In Chrome DevTools in the Layouts tab you have handy options to debug CSS Flexbox and Grid. Including...

drafts.csswg.org

While in CSS zero is usually referenced without specifying a unit (e.g. padding: 0), you must not use a unitless...

tl;dr The Chrome DevTools are a neat collection of tools for the daily work as a web developer. If...

tl;dr In Chrome DevTools in the Sources tab you can activate Event Listener Breakpoints for debugging events. Example

tl;dr In Chrome DevTools in the Elements tab or in Firefox in the Inspector tab you can right click...

Git allows you to set push options when pushing a branch to the remote. You can use this to build...

github.com

ActiveType::Object inherits from ActiveRecod::Base and is designed to behave like an ActiveRecord Object, just without the database...

If you're experiencing that your bundle install command fails with an error message like this, rubygems.org might...

makandra dev

tl;dr git checkout is the swiss army of git commands. If you prefer a semantically more meaningful command for...

Here are a few common patterns that will probably lead to flaky specs. If you notice them in your specs...

makandra dev

tl;dr git checkout is the swiss army of git commands. If you prefer a semantically more meaningful command for...

You have uncommited changes (you can always check by using git status), which you want to discard.

Ruby's standard library includes a class for creating temporary directories. Similar to Tempfile it creates a unique directory name...

When you build a JSON API you need to come up with a style to represent attributes, pagination, errors or...

If you need to convert an SVG source to PS or EPS, the most common suggestion on the interwebs is...

greg.molnar.io

Greg Molnar has written a neat article about creating a single-file Rails app. This is not meant for production...