When upgrading Rails versions -- especially major versions -- you will run into a lot of unique issues, depending on the exact...

The Ace editor is a great enhancement when you want users to supply some kind of code (HTML, JavaScript, Ruby...

jakearchibald.github.io

There are many ways to optimize SVGs. Ideally, your build pipeline does that automatically for you (e.g. via postcss-svgo...

When projects run for many years, they require special regular maintenance to stay fresh. This kind of maintenance is usually...

makandra dev

If your Rubymine does not recognize a file type correctly although you have entered the unmistakeable file extension like material_orders_controller.rb...

We figured out, that ActiveJob Inline might lead to autoloading problems in development. The result was an exception when running...

makandra dev
github.com

Deployment ready for Opscomplete Copying view and controller templates over to target application during basics configuration or via...

Accessing pseudo elements via JavaScript or jQuery is often painful/impossible. However, accessing their styles is fairly simple. Using getComputedStyle

relishapp.com

When you are using lambdas in RSpec to assert certain changes of a call, you know this syntax: expect { playlist.destroy...

github.com

This repository was created with the intention of helping developers master their concepts in JavaScript. It is not a requirement...

It is possible to access Rails config (for example secrets) from within your webpack bundles, thanks to rails-erb-loader...

When debugging your application, you will come across objects created by some gem or framework. You don't have the...

TL;DR: All modern browsers default to using the element as the main document viewport. In CSS, prefer to set...

Font Awesome 5 is a comprehensive solution for vector icons on your website. Originally, Font Awesome came as an icon...

github.com

Phusion Passenger changed the way how it gets restarted several times. Through the project's history, these all were valid...

In this example we assume that not only the storage gem changes but also the file structure on disc.

github.com

Masonry is a famous library to dynamically arrange a grid of items that have different aspect ratio, like horizontal and...

A JavaScript error in an E2E test with Selenium will not cause your test to fail. This may cause you...

If you use transactional_fixtures or the database_cleaner gem with strategy :transaction, after_commit callbacks will not be fired...

If validations failed for a record, and you want to find out if a specific validation failed, you can leverage...

Let's say you have a gem which has the following module: module SuperClient def self.foo 'Foo' end

keepachangelog.com

We want to keep a changelog for all gems we maintain. There are some good practices for writing a changelog...

Most forms have a single submit button that will save the record when pressed. Sometimes a form needs additional submit...

Migrating data from a legacy into a new system can be a surprisingly large undertaking. We have done this a...