Database connections are not thread-safe. That's why ActiveRecord uses a separate database connection for each thread.

rspec.info

In modern default RSpec configurations, your tests are usually run in random order. This helps to detect "flickering" tests that...

In case you want to require a gem, that is not in the Gemfile of you bundle and therefore not...

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

ImageMagick has a command line tool called identify which can read image metadata: >identify -verbose DSC00136.JPG Image: DSC00136.JPG Format: JPEG...

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

This is not an issue in newer versions of HAML (starting with 5.0.0), as the ugly-option was removed...

makandra dev
activestate.com

Looks like ActiveState is trying to market a new Ruby distribution for Enterprises: ActiveRuby Enterprise Edition is designed for businesses...

badssl.com

Website that offers lots of different kinds of HTTPS configurations, bad or good or complicated. They also offer a dashboard...

Occasionally, you have to talk to APIs via HTTPS that use a custom certificate or a misconfigured certificate chain (like...

medium.com

As web developers, we know how easy it is to end up with web page bloat. But loading a webpage...

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

If you have a replication error with MySQL and you know the "error" is okay (e.g. you've executed the...

On application servers, gems are usually bundled into the project directory, at a location shared across deployments. This is usually...

makandra dev
github.com

Reminder of what you can do with Geordi. Note: If you alias Geordi to something short like g, running commands...

Sometimes huge refactorings or refactoring of core concepts of your application are necessary for being able to meet new requirements...

So you're getting an error like this: undefined method `activate_bin_path' for Gem:Module (NoMethodError)

TL;DR: Update the 'net-ssh' gem by adding to your Gemfile: gem 'net-ssh', '=2.9.1' Now run bundle update...

Put the following into config.ru in your Rails root folder: # Require your environment file to bootstrap Rails require ::File.dirname(__FILE...

So you're getting this failure when running bundle install on an older project: Your Gemfile.lock is corrupt. The following...

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

When giving a presentation with a projector it is sometimes better to use a dual screen layout instead of a...

In order to have monitoring for Sidekiq (like queue sizes, last run of Sidekiq) your application should have a monitoring...

SVG is an acronym for "scalable vector graphics". SVGs should be used whenever an image can be described with vector...