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

makandra dev

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

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

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

If you get an error like this for a puppet mount: $ > puppet agent --test Info: Retrieving pluginfacts Info: Retrieving plugin...

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

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

Building plain text emails with an .erb template doesn't allow you to indent code like you normally do in...

TL;DR Debugging problems with javascript errors in cucumber tests is sometimes easier in the browser. Run the test, stop...

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

api.rubyonrails.org

Instantiating ActiveRecord objects comes expensive. To speed up things, you can choose a more direct way to talk to your...

makandra dev
github.com

Improve geordi cucumber: Only attempt @solo run when the specified files contain the @solo tag, skip @solo run if any...

Capistrano is by default configured to exclude the gems of the groups development and test when deploying to the stages...

To check the currently running PG version from your Rails application (e.g. Rails console on your production server), simply do...

When your controller action raises an unhandled exception, Rails will look at the exception's class and choose an appropriate...

By convention, common protocols use a defined port, like 80 for HTTP or 443 for HTTPS. You can use nmap...