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...

youtube.com

The linked content describes: The different color space of Oklch and RGB/HSL (HDR colors) The advantage of Oklch when you...

To navigate between test and test subject Rubymine requires you to set the test root sources as Test Sources Root...

Haml 6 was a major rewrite with performance in mind. To achieve a performance improvement of 1.7x, some design...

Usually you add errors to :base in ActiveRecord, in case no appropriate attribute could be used to add the error...

Maintaining larger projects makes it more difficult to balance refactoring and upgrade tasks according to its actual value. Consider to...

Let's say we have posts with an attribute title that is mandatory. Our example feature request is to tag...

By default most exceptions in Rails will render a 500 error page and will create a new issue in your...

Testing your responses in Rails allows to parse the body depending on the response MIME type with parsed_body.

developer.mozilla.org

Container queries enable you to apply styles to an element based on the size of the element's container. If...

In the past we validate and set default values for boolean attributes in Rails and not the database itself.

Since Rails 7 you are able to encrypt database information with Active Record. Using Active Record Encryption will store an...

Rails includes milliseconds in Time / DateTime objects when rendering them as JSON: JSON.parse(User.last.to_json)['created_at'] #=> "2001-01-01...

Ncdu is a disk usage analyzer with an ncurses interface. It is designed to find space hogs on a remote...

Ruby's standard library includes a class for creating temporary directories. Similar to Tempfile it creates a unique directory name...

paweldabrowski.com

The linked content includes a few design patterns implemented with Ruby on Rails. What is the card indented to achieve...