makandra dev
developer.mozilla.org

The standard way to abort async code is that your function takes a AbortSignal { signal } property. The caller can use...

Remember How to skip Sprockets asset compile during Capistrano deployment and Automatically skipping asset compilation when assets have not changed...

github.com

There are two ways to lock a user in devise. Using the lockable module Customizing the user account status validation...

In this example we assume that not only the storage gem changes but also the file structure on disc.

A JavaScript error in an E2E test with Selenium will not cause your test to fail. This may cause you...

Geordi's cucumber command has a --rerun option that reruns failing tests the given number of times. Usage: geordi cucumber...

Migrating data from a legacy into a new system can be a surprisingly large undertaking. We have done this a...

In general, the tracker should always be the definitive source of truth of what needs to be done as part...

Background information about session storage in Rails Rails has a default mechanism to store the session in the CookieStore. This...

In an environment: config.logger = Logger.new('/dev/null')

CoffeeScript and JavaScript (ECMAScript) both have operators in and of. Each language use them for more than one purpose. There...

When your application is running on a multi-server setup, application logs are stored per server (unless you choose a...

makandra dev

ActiveSupport::Dependencies takes care of auto-loading any classes in development. This is usually useful, but when you run into...

github.com

When you're using Sidekiq::Web to monitor the Sidekiq status AND have your session cookie configured to a wildcard...

We're usually running Ubuntu LTS versions. Sometimes newer hardware requires packages from more recent Ubuntu releases that only come...

Slides for Henning's talk on Sep 21st 2017. Understanding sync vs. async control flow Talking to synchronous (or "blocking...

docs.ruby-lang.org

Use return to return from a method. return accepts a value that will be the return value of the...

If you want to ssh into your vagrant box without switching into the project directory and typing vagrant ssh, you...

Sometimes, through some firewall or proxy misconfiguration, you might have to deploy to a server that cannot access the git...

For the initial setup or changes in the sentry reporting it might be useful to enabled reporting of sentry in...

makandra dev

Crontabs are often unordered, especially when generated for an application where you usually group tasks by their domain/scope.

We generally use multiple application servers (at least two) and you have to search on all of them if you...

Chrome gives you the currently selected element in the inspector with $0. If you select a button in the DOM...

You can use three different versions of the regular expression syntax in grep: basic: -G extended: -E(POSIX)