View
Posted over 2 years ago by Dominik Schöler. iamvdo.me

Line-height and vertical-align are simple CSS properties. So simple that most of us are convinced to fully understand...

Posted 21 days ago by Michael Leimstädtner.

RubyMine comes with a nice way to grep through your project's files: The finder (ctrl + shift + f). Don't...

Posted about 4 years ago by Arne Hartherz. campaignmonitor.com

CSS support in major e-mail clients is horrible. This will give you an overview what you will not be...

Posted 18 days ago by Tobias Kraze.

webpack is a very powerful asset bundler written in node.js to bundle (ES6) JavaScript modules, stylesheets, images, and other assets...

Posted over 6 years ago by Henning Koch.

In a nutshell: Do not use evaluate_script. Use execute_script instead! Capybara gives you two different methods for executing...

Posted almost 6 years ago by Henning Koch. thesassway.com

Functions and mixins are very similar in nature. Because they can both accept variables, you might end up creating a...

Posted about 6 years ago by Henning Koch.

When your site is on HTTPS and you are linking or redirecting to a HTTP site, the browser will not...

Posted 22 days ago by Dominik Schöler.

Element finding is a central feature of Capybara. Since #find is normally used to get elements from the current page...

Posted 25 days ago by Tobias Kraze.

Jasmine has long standing support for writing asynchronous specs. In days gone by we used the done callback to achieve...

Posted 25 days ago by Tobias Kraze.

The goal is to get Jasmine specs running in a Rails project using Webpacker, with the browser based test runner...

Posted over 5 years ago by Dominik Schöler. faviconit.com

Eduardo Russo was tired of complex favicon creation and created his own favicon generator. It's really easy and allows...

Posted about 1 month ago by Michael Leimstädtner.

Cucumber up to version 2 had a neat feature called Step Argument Transforms which was dropped in favor of Cucumber...

Posted about 2 years ago by Dominik Schöler.

Sass lets you easily specify multiple selectors at once like this: .some-block &.has-hover, &:hover outline: 1px solid red...

Posted over 3 years ago by Dominik Schöler.

Regular expressions in Javascript are represented by a RegExp object. There also is a regex literal as in many other...

Posted about 1 month ago by Michael Leimstädtner.

Until Capybara 2, node finders that accept a text option were able to find nodes based on rendered text, even...

Posted over 4 years ago by Dominik Schöler.

TL;DR A z-index larger than 10 should rarely be needed. The CSS property z-index is not as...

Posted almost 3 years ago by Henning Koch.

Is your application doing something expensive every few seconds? Maybe an animated slider that rotates images? Maybe you are updating...

Posted about 8 years ago by Dominik Schöler. blog.jayfields.com

Deprecated ways to execute shell code in Ruby This is just a reference for legacy code. For new code, always...

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