This is a short overview of things that are required to upgrade a project from the Asset Pipeline to Webpacker...
Rails' ActiveSupport::TimeWithZone objects have both a timezone code and offset, e.g. Thu, 28 Mar 2019 16:00:00 CET...
When we want to use our own (or bought) fonts in an application with Webpack(er), we have two options...
Webpacker is Rails' way of integrating Webpack, and version 4 has been released just a few days ago, allowing us...
This is a presentation from 2019-01-21. Summary We want to move away from jQuery in future projects
To remove all tables from a database (but keep the database itself), you have two options. Option 1: Drop the...
The standard way to abort async code is that your function takes a AbortSignal { signal } property. The caller can use...
Suggested Workflow Set the ruby version in .ruby-version to 2.3.5, then perform these steps one by one, fixing errors...
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...
We figured out, that ActiveJob Inline might lead to autoloading problems in development. The result was an exception when running...
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
This repository was created with the intention of helping developers master their concepts in JavaScript. It is not a requirement...
When debugging your application, you will come across objects created by some gem or framework. You don't have the...
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.
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
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...
In a project team for a bigger project people have several roles: Developer: at makandra Project lead: at makandra