makandra dev

Field error steps Spreewald's The...

...field should have an error and The...

...field should have the error...

...steps now...

From Exploring ES6: Module imports are hoisted (internally moved to the beginning of the current scope). Therefore, it doesn’t...

Jasmine is a great way to unit test your JavaScript components without writing an expensive end-to-end test for...

web.archive.org

Rails 6.1 has a "strict loading" mode that forces the developer to preload any association they plan to use. Associations...

A flaky test is a test that is often green, but sometimes red. It may only fail on some PCs...

makandra dev

If you want Sidekiq to be able to talk to Redis on staging and production servers, you need to add...

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.

makandra dev

The gem better_errors offers a detailed error page with an interactive REPL for better debugging. I had the issue...

We are using Spring in our tests for sequential test execution but not for parallel test execution. And Rails requires...

Rails has the handy controller method send_file which lets us download files easily. We can decide whether the file...

We had a card that described how to install multiple mysql versions using mysql-sandbox. Nowadays with the wide adoption...

It seems like changing the HTTP_ACCEPT_LANGUAGE is not possible for a headless chrome. On Ubuntu the headless Chrome...

I ran into a situation in which I received the yarn integrity check warning when starting the rails console even...

After switching a project from Sprockets to Webpack, I started observing a bug that was hard to debug: Our...

Accessing other repositories in Gitlab CI is not straight forward, since the access rights of the current pipeline might not...

In case your integration tests crash with a message like below, try to upgrade Capybara to a newer version (3.35.3...

We recently noticed issues with Chrome 75+ when having the w3c option enabled within the Selenium webdriver. It looks like...

I encountered a unlucky behavior of byebug 11.1.3 (the most recent version at time of writing) when using it with...

makandra dev

You can publish pre-release versions of an npm package. Naming convention for pre-release versions An npm package must...

makandra dev

When a Ruby version gem has a letter in its version number, it is considered a pre-release:

When storing files for lots of records in the server's file system, Carrierwave's default store_dir approach may...

When deleting a record in your Rails app, Carrierwave automatically takes care of removing all associated files. However, the file...

makandra dev

Webpack builds can take a long time, so we only want to compile when needed. This card shows what will...