Sometimes you want to load code on demand. For instance, when a a large library is only used on a...

It sometimes happen that a database dump, that would want to insert into your development database, does not match the...

When logging in Rails, you can use the log_tags configuration option to add extra information to each line, like...

Rails 5.2+ supports "verbose query logs" where it shows the source of a query in the application log.

When writing some logs to a file, that don't use Ruby's logger utility, it is often useful to...

"Open-source software (OSS) is great. Anyone can use virtually any open-source code in their projects." Well, it depends...

When an event listener on a DOM element throws an error, that error will be silenced and not interrupt your...

There is a reasonable simple way to move data between Redis servers: Simply temporarily configure the new server as a...

Speaker today is Henning Koch, Head of Development at makandra. This talk will be in German with English slides.

We use CarrierWave in many of our projects to store and serve files of various formats - mostly images. A common...

In case you want to use pry with an older version of Ruby, you can try the following configurations.

You can install rubygems 3.0.8 (released on February 18, 2020) to keep all the Gem::Specification#rubyforge_project deprecation warnings...

github.com

The linked GitHub repository is a bit like our "dev" cards deck, but groomed from a single person (Josh Branchaud...

Sometimes it's nice to have some coloring in your logs for better readability. You can output your logs via...

Browsers come with a set of built-in elements like or . When we need a new component not covered by...

This is a bookmarklet you can add to Chrome or Firefox which will allow you to create a story in...

When using Chrome for Selenium tests, the chromedriver binary will be used to control Chrome. To debug problems that stem...

The main benefit of our convention to prefix commits by their corresponding Pivotal Tracker ID is that we can easily...

Capistrano automatically logs each (successful) deployment into a file on your application servers. It is located at the root of...

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

In Ruby on Rails, all objects have a useful blank? method. It returns true for nil but also for empty...

When you update your ChromeDriver to version 75 or beyond, you might get w3c errors in your tests.

jQuery has a function $.fn.trigger(). You can use it to dispatch an event on a jQuery object: let $element = $('.foo...

In Rails, we usually have a mailer setup like this: class MyMailer < ActionMailer::Base def newsletter mail to: 'receiver@host.tld',