Until Capybara 2, node finders that accept a text option were able to find nodes based on rendered text, even...
jQuery has a function $.fn.trigger(). You can use it to dispatch an event on a jQuery object: let $element = $('.foo...
If you get e.g. this error message when you try to run puppet agent: Error: Failed to apply catalog: undefined...
To keep JavaScript sources small, it can sometimes make sense to split your webpack bundles. For example, if your website...
Download buttons can be difficult to test, especially with Selenium. Depending on browser, user settings and response headers, one of...
TL;DR Most web applications do not require action on this. SameSite=None (old browser default) will continue to work...
An alternative of using a multiple assignment for a Regex are named groups. Especially when your Regex becomes more complicates...
Was ist Elastic? Suchmaschine, basierend auf Apache Lucene größtenteils Open-Source einige kommerzielle Features ("Elastic Stack", früher "X-Pack") Zugriffsrechte...
PostCSS is a tool for transforming styles with JS plugins. In Webpacker you can configure the plugins and their settings...
To avoid multiple versions of a package, you can manually maintain a resolutions section in your package.json. We recommend you...
When doing some meta-programming magic and you want to do something for all attributes of a class, you may...
This is a short overview of things that are required to upgrade a project from the Asset Pipeline to Webpacker...
In Rails, we usually have a mailer setup like this: class MyMailer < ActionMailer::Base def newsletter mail to: 'receiver@host.tld',
While deploying an Ruby update to an old application these days, we encountered the following misleading error: *** [err :: some-host.makandra.de] You...
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...
If a systemd service unit is blocked by rate limiting (see in documentation) you can reset the failcounter via:
When you have a powerful machine with many CPU cores, you might run into an error like
Here is how to make Rome datepicker look like the rest of your Bootstrap 4 application. Rome comes with very...
Webpacker is Rails' way of integrating Webpack, and version 4 has been released just a few days ago, allowing us...
RSpec >= 3.3 added aggregate_failures, which allows multiple failures in an example and list them all, rather than aborting on...
For searching in large database tables we usually use PostgreSQL's fulltext search capabilities. While this works reasonably well for...
This is a presentation from 2019-01-21. Summary We want to move away from jQuery in future projects
Spammers have started abusing other application to send their spam. This works like this: The application has some form that...