CSS transitions are a simple animation framework that is built right into browsers. No need for Javascript here. They're...
There are several ways to merge two (or more) PDF files to a single file using the Linux command line...
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...
Inspecting the source of an email does not always reveal the plain HTML source, but some encoded byte mess. In...
Jasmine has long standing support for writing asynchronous specs. In days gone by we used the done callback to achieve...
The goal is to get Jasmine specs running in a Rails project using Webpacker, with the browser based test runner...
With ActiveType 1.2 you can modify associations (has_many etc.) after they have been defined. One common use case for...
If you get requests with values for formats like this: {:locale=>[:de], :formats=>["../../../../../../../../../../etc/services{{"], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby...
Until Capybara 2, node finders that accept a text option were able to find nodes based on rendered text, even...
If you get e.g. this error message when you try to run puppet agent: Error: Failed to apply catalog: undefined...
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...
If you struggle with a /boot partition that is too small for updates, and you are too intimidated by the...
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...
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',
Many mail clients do not support external style sheets. Some even require all styling inline, which means you'll have...
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...
From at least Rails 4, the ActionView tag helper turns Array values of HTML options into a single space-separated...
Webpacker is Rails' way of integrating Webpack, and version 4 has been released just a few days ago, allowing us...