In ruby you can easily read and write CSVs with the standard CSV library class. On top of this, you...

The rendered font often depends on the local font your system provides, therefore you often find a rule like below...

Puma allows you to specify the max and min threads. In development this could be useful if you use a...

Cucumber factory supports polymorphic associations out of the box. Just keep in mind that you need to use named associations...

The exception_notification gem supports to provide custom data to e.g. the fail mail within foreground or background jobs. ExceptionNotifier.notify...

We figured out, that ActiveJob Inline might lead to autoloading problems in development. The result was an exception when running...

github.com

There are two ways to lock a user in devise. Using the lockable module Customizing the user account status validation...

Since the Spell checker german dictionary plugin is not maintained anymore, here is another way to use a german dictionary...

Geordi uses parallel_tests if available for running the test suite. To debug an application it is very unhandy to...

S3cmd is a free command line tool and client for uploading, retrieving and managing data in Amazon S3. S3cmd reads...

Normally you can list all gems of the current ruby version with gem list, which also includes the gems of...

There seems to be no built-in matcher in RSpec to check if a string contains terms in the desired...

In this example we assume that not only the storage gem changes but also the file structure on disc.

Geordi's cucumber command has a --rerun option that reruns failing tests the given number of times. Usage: geordi cucumber...

If you use transactional_fixtures or the database_cleaner gem with strategy :transaction, after_commit callbacks will not be fired...

Let's say you have a gem which has the following module: module SuperClient def self.foo 'Foo' end

keepachangelog.com

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

Add a user without password (recommended) Replace newuser with your desired username: mysql -uroot -p CREATE USER 'newuser'@'localhost' IDENTIFIED...

Lets say we have a user with a contract whereas contract is a mounted carrierwave file. Now we want to...

We often use the Then console step from spreewald in combination with geordi vnc from geordi to debug tests within...

Bundler::GemRequireError: There was an error while trying to load the gem 'mysql2'. Gem Load Error is: Incorrect MySQL client...

Trying to open a vnc window with geordi geordi vnc ended up with this error: > VNC viewer could not be...

stackoverflow.com

mysql> SELECT @@global.version; +------------------+ | @@global.version | +------------------+ | 5.6.30 | +------------------+ 1 row in set (0,00 sec) MySQL 5.6 Reference Manual says "BLOB and TEXT...

Use bundler > 1.15 to fix Gem::LOADED_SPECS_MUTEX (NameError). Given the following project: ruby -v ruby 1.8.7