View
Posted 19 days ago by Arne Hartherz.

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

Posted over 5 years ago by Arne Hartherz.

When you have a string containing umlauts which don't behave as expected (are not matched with a regexp, can...

Posted about 1 month ago by Judith Roth.

There are several ways to merge two (or more) PDF files to a single file using the Linux command line...

Posted over 7 years ago by Henning Koch.

By default, Google Analytics tracks the current URL for every request. Sometimes you will want to track another URL instead...

Posted about 4 years ago by Tobias Kraze.

On Ruby 1.9+, standard ruby character classes like \w, \d will only match 7-Bit ASCII characters: "foo" =~ /\w+/ # matches...

Posted over 7 years ago by Henning Koch. robots.thoughtbot.com

Braces and do/end are completely swappable—almost all the time. They have different precedence. It’s not often that anyone...

Posted 5 months ago by Emanuel De.

We already have some approaches on how to test file downloads withe selenium. Nonetheless here is another approach, which inspects...

Posted 6 months ago by Michael Leimstädtner.

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

Posted over 7 years ago by Henning Koch.

Localizing a non-trivial application can be a huge undertaking. This card will give you an overview over the many...

Posted over 2 years ago by Tobias Kraze. medium.freecodecamp.com

Collection of useful tools in the Chrome JavaScript console. Make the whole page editable This is not special to Chrome...

Posted over 7 years ago by Dominik Schöler. github.com

Pour color on your Rails console with awesome_print. Turn confusing long strings into formatted output. Have objects and classes...

Posted 11 months ago by Dominik Schöler.

Cucumber has an output format that prints step definitions only. You can use this to find unused ones: Temporarily add...

Posted 11 months ago by Emanuel De.

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

Posted about 3 years ago by Dominik Schöler.

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

Posted 12 months ago by Dominik Schöler.

Ubuntu has decided to disable PDF processing because ImageMagick and the underlying Ghostscript had several security issues. When your Ghostscript...

Posted about 1 year ago by Arne Hartherz. draw.io

draw.io is a web application that lets you draw flow charts and other diagrams. It works much nicer than office...

Posted about 1 year ago by Emanuel De.

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

Posted almost 3 years ago by Emanuel De.

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

This website uses cookies to improve usability and analyze traffic.
Accept or learn more