You might know a few examples, where you configure some library via a block. One example is the Rails configuration...

This cards describes an example with a Github Client on how to keep your Rails application more maintainable by extracting...

This card is a short summary on different ways of assigning multiple attributes to an instance of a class.

github.com

We released a new version of our rails_state_machine gem. The release contains mainly a breaking change on how...

shoelace is a library of web components. Here is a proof of concept how a integration (slightly different as the...

Raising errors for required and permitted attributes makes it easier to find errors in your application during development and in...

This card describes two variants, that add a more intuitive workflow when working with nested attributes in Rails + Unpoly.

We are using assignable_values for managing enum values in Rails. Nevertheless Rails is adding more support for enum attributes...

open-ui.org

tl;dr When browsers start to adapt proposals from Open UI, it might not be necessary to use any 3rd...

This card describes different flavors for concatting HTML safe strings in a helper method in Rails. You might want to...

Starting with Rails 7.1 the production logger is set to standard out. For applications running with opscomplete ensure to keep...

87.140.79.42 - - [23/Jan/2024:09:00:46 +0100] "GET /monitoring/pings/ HTTP/1.1" 200 814 "-" "Ruby" 87.140.79.42 - - [23/Jan/2024:09:00:46 +0100] "GET...

I, [2024-01-21T06:22:17.484221 #2698200] INFO -- : [4cdad7a4-8617-4bc9-84e9-c40364eea2e4] test

Here are some hints on best practices to maintain your tasks in larger projects. Rake Tasks vs. Scripts

In the Gitlab settings the flag Auto-cancel redundant pipelines is enabled by default. This auto-cancels jobs that have...

Make sure that you use the correct property when editing an HTML attribute. Using innerHTML with unsafe arguments makes your...

Newest versions of Chromedriver breaks the user agent for device emulation via device name. In previous versions the user agent...

Capybara allows you to filter elements that are focused. page.find(:fillable_field, focused: true) # Filtering only fillable inputs for performance...

You can tell npm to install a package globally with npm -g install @puppeteer/browsers. However, it seems that its not...

It most cases it's not necessary to add a version constraint next to your packages in the package.json. Since...

It most cases it's not necessary to add a version constraint next to your gems in the Gemfile. Since...

With this Ruby script you can print all values in a Redis database to your console (derived from this bash...

Debugging your integration tests, that run a headless Chrome inside a docker image, is tricky. In many cases you can...

Sidekiq 7 adds a new feature called capsules. Use cases: a chrome queue limited to 1 for e.g. PDF processing...