Capistrano automatically logs each (successful) deployment into a file on your application servers. It is located at the root of...
From Ubuntu 17, rbenv fails to install Ruby below 2.4 because of a mismatching OpenSSL dependency: it needs libssl1.0-dev for...
In Ruby on Rails, all objects have a useful blank? method. It returns true for nil but also for empty...
When you update your ChromeDriver to version 75 or beyond, you might get w3c errors in your tests.
jQuery has a function $.fn.trigger(). You can use it to dispatch an event on a jQuery object: let $element = $('.foo...
If you get e.g. this error message when you try to run puppet agent: Error: Failed to apply catalog: undefined...
In Rails, we usually have a mailer setup like this: class MyMailer < ActionMailer::Base def newsletter mail to: 'receiver@host.tld',
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...
When your code does not behave as expected, you can use a debugger statement ("breakpoint") at any point in your...
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...
If freshclam updates are failing even though the update servers are available and you find error messages like the following...
If one etcd node is no longer a member of the remaining etcd cluster or fails to connect you need...
ActiveSupport::Dependencies takes care of auto-loading any classes in development. This is usually useful, but when you run into...