tl;dr Since Rails 7+ you can use ComparisonValidator for validations like greater_than, less_than, etc. on dates, numerics...
You can use ETags to allow clients to use cached responses, if your application would send the same contents as...
Case studies and experiments demonstrating the impact of web performance optimization (WPO) on user experience and business metrics.
To allow HTTP 304 responses, Rails offers the fresh_when method for controllers. The most common way is to pass...
When working with feature branches, stale branches pile up over time. It's best to remove them right after merge...
When your Rails application offers downloading a bunch of files as ZIP archive, you basically have two options:
While working on a Rails application, your code base will grow a collection of different file types including: Ruby (business...
Based on the Ruby Basics Card in the developer Curriculum Ruby is the programming language we use on the backend...
It might sometimes be useful to check whether your Rails application accesses the file system unnecessarily, for example if your...
While verifying doubles in RSpec is a good default, it is limited in the amount of methods it actually is...
You can use Unpoly's up.on with a named listener function and immediately unbind this event listener with { once: true...
When you need information about a gem (like version(s) or install path(s)), you can use the gem binary...
tl;dr: Use the URLSearchParams API to make your live easier if you want to get or manipulate query parameters...
RSpec's let allows you to super into "outside" definitions, in parent contexts. Example: describe '#save' do subject { described_class.new(attributes...
To ensure a consistent code style for JavaScript code, we use ESLint. The workflow is similar to integrating rubocop...
Wir wollen verstehen, welche Hardware-Ressourcen uns zur Verfügung stehen und wie wir mögliche Engpässe und Probleme identifizieren können. Grundsätzlich...
AWS ist der meist genutzte Cloud Provider. Bei AWS gibt es extrem viele Themengebiete und es ist nicht möglich sich...
Bei makandra entwickeln wir seit 2009 Web-basierte Anwendungen und haben im Trainee-Programm für unsere Web-Entwickler vieles aufgeschrieben...
makandra bietet ein bezahltes Trainee-Programm für DevOps / Cloud-Engineers: http://start.makandra.de Wir arbeiten für unsere Kunden häufig als Infrastruktur...
Building application assets with esbuild is the new way to do it, and it's great, especially in combination with...
TL;DR When using Cache-Control on a Rails application, make sure the Vary: Accept header is set.
Within development and test environments, Rails is usually configured to show a detailed debug page instead of 404s. However, there...
This RailsCast demonstrated a very convenient method to activate VCR for a spec by simply tagging it with :vcr.
The gem better_errors offers a detailed error page with an interactive REPL for better debugging. I had the issue...