While in CSS zero is usually referenced without specifying a unit (e.g. padding: 0), you must not use a unitless...
When using many or very long entries of MIME-types that shoudl be gziped in gzip_types directives in nginx...
Im Jahr 2022 ist beinahe der gesamte Traffic im Internet verschlüsselt. Das geschieht primär mit TLS. Da wir Webserver, Loadbalancer...
Large Rails projects tend to define multiple custom ways to format Dates or DateTimes. This often leads to duplicated format...
Wir arbeiten in einem Umfeld in dem sich fast alles um das Web und HTTP dreht. Wir betreiben Webseiten und...
sass >= 1.35.0 has the option quietDeps and silenceDeprecations to silence deprecation warnings from dependencies. quietDeps: No deprecation warnings for dependencies...
Der zuverlässige und perfomante Betrieb von relationalen Datenbanken kann sehr aufwendig und komplex sein. Dies gilt vor allem, wenn man...
ActiveType::Object inherits from ActiveRecod::Base and is designed to behave like an ActiveRecord Object, just without the database...
Als DevOps Engineer kann es häufiger vorkommen, dass du ein lokales Testsetup bauen musst, um eine bestimmte Software oder ein...
Unpoly's [up-observe], [up-autosubmit] and [up-validate] as well as their programmatic variants up.observe() and up.autosubmit...
You can use ETags to allow clients to use cached responses, if your application would send the same contents as...
Here are a few common patterns that will probably lead to flaky specs. If you notice them in your specs...
tl;dr In RubyMine you can use find and replace with capture groups (.*?) and backreferences $1 (if you have several...
Ruby's standard library includes a class for creating temporary directories. Similar to Tempfile it creates a unique directory name...
To allow HTTP 304 responses, Rails offers the fresh_when method for controllers. The most common way is to pass...
For Rails models where only one of multiple attributes may be filled out at the same time, there is no...
Greg Molnar has written a neat article about creating a single-file Rails app. This is not meant for production...
While working on a Rails application, your code base will grow a collection of different file types including: Ruby (business...
In our monitoring, RabbitMQ queues like aliveness-test may show up as unresponsive, with a ping timeout after 10 seconds...
Beim schreiben von Scripts ist es nützlich Tests zu schreiben um bei Änderungen nicht alles nochmals manuell testen zu müssen...
Based on the Ruby Basics Card in the developer Curriculum Ruby is the programming language we use on the backend...
I recently wanted to add a model for address information but also wanted to add a unique index to those...
When changing code in mailers, updating the corresponding mailer preview can be forgotten very easily. Mailer previews can be tested...
Testing file download links in an end-to-end test can be painful, especially with Selenium. The attached download_helpers.rb provides...