Two weeks ago, Cloudflare was struck by a global outage that lasted ~30 minutes. The incident was rooted on a...
webpack is a very powerful asset bundler written in node.js to bundle (ES6) JavaScript modules, stylesheets, images, and other assets...
RubyMine comes with a nice way to grep through your project's files: The finder (ctrl + shift + f). Don't...
Jasmine has long standing support for writing asynchronous specs. In days gone by we used the done callback to achieve...
With ActiveType 1.2 you can modify associations (has_many etc.) after they have been defined. One common use case for...
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...
If you get requests with values for formats like this: {:locale=>[:de], :formats=>["../../../../../../../../../../etc/services{{"], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby...
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...
When delivering non-public uploaded files (images, documents etc), one has to decide whether and how to do authorization. The...
Along with a number of other cool new features and performance improvements, Ruby 2.6 added function composition to the Proc...
Was ist Elastic? Suchmaschine, basierend auf Apache Lucene größtenteils Open-Source einige kommerzielle Features ("Elastic Stack", früher "X-Pack") Zugriffsrechte...
Tod is a gem for working with daytimes. That's a tuple of (hour, minute second) without a day, month...
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',
Rails' ActiveSupport::TimeWithZone objects have both a timezone code and offset, e.g. Thu, 28 Mar 2019 16:00:00 CET...
Sometimes you might need to do some task in GitLab which would be tedious if you'd have to do...
Fixed bugs where calling valid? would change the record's state.
When you have a powerful machine with many CPU cores, you might run into an error like
You can use .ids on an ActiveRecord 4+ scope to pluck all the ids of the relation User.where("users.name LIKE...
Webpacker is Rails' way of integrating Webpack, and version 4 has been released just a few days ago, allowing us...