With ActiveType 1.2 you can modify associations (has_many etc.) after they have been defined. One common use case for...
In Ruby on Rails, all objects have a useful blank? method. It returns true for nil but also for empty...
Katapult was an endeavor to dramatically speed up starting a new Rails application. However, it turned out to save less...
Travis changed their default distribution from Ubuntu 14.04 (trusty) to 16.04 (precise). This might break your test setup for new...
Not all versions of Node.js are compatible with each other. Also npm packages may require a minimum or maximum version...
The issue in this card can occur if the node_modules directory is checked into your Git repository. We usually...
When installing a gem you can use version comparators like >= or ~>. That way it is possible to fetch the latest...
Cucumber up to version 2 had a neat feature called Step Argument Transforms which was dropped in favor of Cucumber...
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...
It is quite easy to migrate from CoffeeScript to ES6. You can use decaffeinate to convert your CoffeeScript source to...
Over the years we have tried several solution to have vector icons in our applications. There are many ways to...
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...
We're always striving towards keeping our website's JavaScript as small as possible. If you're using webpack(er...
TL;DR Most web applications do not require action on this. SameSite=None (old browser default) will continue to work...
When delivering non-public uploaded files (images, documents etc), one has to decide whether and how to do authorization. The...
An alternative of using a multiple assignment for a Regex are named groups. Especially when your Regex becomes more complicates...
Along with a number of other cool new features and performance improvements, Ruby 2.6 added function composition to the Proc...
Some older Node modules rely on window.jQuery to be present. One suggested solution is to use this config in the...
PostCSS is a tool for transforming styles with JS plugins. In Webpacker you can configure the plugins and their settings...
Tod is a gem for working with daytimes. That's a tuple of (hour, minute second) without a day, month...
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...