Within a Flexbox layout, there are multiple CSS attributes that may affect a child's basis (the initial width before...
Rails is split into a large number of (sub-) frameworks. The most important and central of those are activesupport (extends...
When a user shares your content, a snippet with title, image, link and description appears in her timeline. By default...
When an AJAX request raises an exception on the server, Rails will show a minimal error page with only basic...
webpack is a very powerful asset bundler written in node.js to bundle (ES6) JavaScript modules, stylesheets, images, and other assets...
The goal is to get Jasmine specs running in a Rails project using Webpacker, with the browser based test runner...
If rspec hangs with no output and you dont get a backtrace neither with --backtrace nor by just killing it...
In Ruby on Rails, all objects have a useful blank? method. It returns true for nil but also for empty...
Not all versions of Node.js are compatible with each other. Also npm packages may require a minimum or maximum version...
When deploying with capistrano it's possible you get this "error" message: *** [err :: example.com] There are no Phusion Passenger-served...
Until Capybara 2, node finders that accept a text option were able to find nodes based on rendered text, even...
Over the years we have tried several solution to have vector icons in our applications. There are many ways to...
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...
Some older Node modules rely on window.jQuery to be present. One suggested solution is to use this config in the...
Was ist Elastic? Suchmaschine, basierend auf Apache Lucene größtenteils Open-Source einige kommerzielle Features ("Elastic Stack", früher "X-Pack") Zugriffsrechte...
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',
min-width is known as a CSS property that can be set to define a least width for an element...
When we want to use our own (or bought) fonts in an application with Webpack(er), we have two options...
Here is how to make Rome datepicker look like the rest of your Bootstrap 4 application. Rome comes with very...
RSpec >= 3.3 added aggregate_failures, which allows multiple failures in an example and list them all, rather than aborting on...
See the attached link for a useful overview of modern (and classic) DOM API methods, like matches, contains, append, cssText...