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

AWstats is build to regularly run on webservers. If you want it to build a report once, here is the...

makandra dev

These are Chrome plugins that proved useful at makandra. Each is the best-in-class. Dimensions Auto-measure distances by...

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

Sometimes you want to test migrations with production or staging data. Dumping single tables makes sense if a complete dump...

There's no user interface to give an AWS IAM user read/write access to a selected list of S3 buckets...

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

When building a web application, one is tempted to claim it "done" too early. Make sure you check this list...

When using ImageMagick to manipulate images, you might see that images get darker when beeing modified by newer versions of...

github.com

Ever needed to use a global variable in Rails? Ugh, that's the worst. If you need global state, you...

makandra dev

Have you ever mistaken one Rails environment for another? The attached helper will help you to never do it again...

to create a Gallery that has a name and has_many :images, which in turn have a...