The gem json fails to install for Ruby 2.5 if you use a version equal or below 1.8.3.

This should be fixed in the latest LTS-branches of our mysql2 fork, 0.2.x-lts and 0.3.x-lts...

For long running scripts it is useful to show a indicator for the progress in the terminal. Alternatively you can...

You either have an old version of Mocha and an edge version of Rails 3.2, or you have a new...

Whenever Firefox updates, all your Cucumber features that use Selenium break. This is annoying. In order to remedy this, version...

Instead of using this hack you might want to use MariaDB 10.x which can work with both old and...

github.com

Closure_tree lets your ActiveRecord models act as nodes in a tree data structure. This promises a few improvements over...

makandra dev

We have projects that have been developed using many different versions of Ruby. Since we do not want to...

keepachangelog.com

We want to keep a changelog for all gems we maintain. There are some good practices for writing a changelog...

Ruby includes many standard gems that are bundled into the Ruby installation. Here is an example for the gem strscan...

Both knapsack and parallel_tests have the option to split groups by historic execution time. The required logs for this...

This card shows how to upgrade a Rails 2 application from Rails 2.3.8 through every single patch level up to...

github.com

From Ubuntu 17, rbenv fails to install Ruby below 2.4 because of a mismatching OpenSSL dependency: it needs libssl1.0-dev for...

api.rubyonrails.org

In Rails 7.2. the feature ActiveRecord.after_all_transactions_commit was added, for code that may run either inside or outside...

You can detect city and country from an IP address by using the GeoLite database. This is a flat file...

makandra dev

Next time you have to do more than trivial CSS changes on a project, you probably want to have live...

When you write your next CarrierWave uploader, consider processing your images with libvips instead of ImageMagick. Reasons for libvips

When updating WebMock, be prepared that your specs may send real requests into the depths of the internet unless you...

coderwall.com

There seems to be no way to use therubyracer -v '0.11.4' and libv8 -v '3.11.8.17' on OS X Mavericks.

In the past we validate and set default values for boolean attributes in Rails and not the database itself.

We frequently use the handy Paperclip Gem to manage file attachments. If you need to move the files from local...

This method will remove automatically installed packages that no other packages depend on any more. This, of course...

When adding a new field to your model's database table, don't set any defaults in the database.

Web applications can be used by multiple users at the same time. A typical application server like Passenger has multiple...