View
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 28 days 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 28 days ago by Daniel Straßner.

Unpoly 0.60.0 removed the jQuery dependency to improve performance (see Hennings talk about Javascript without jQuery). I upgraded one of...

Posted about 1 month 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 about 1 month ago by Tobias Kraze.

If you struggle with a /boot partition that is too small for updates, and you are too intimidated by the...

Posted 2 months ago by Arne Hartherz.

When doing some meta-programming magic and you want to do something for all attributes of a class, you may...

Posted 2 months ago by Emanuel De.

This is a short overview of things that are required to upgrade a project from the Asset Pipeline to Webpacker...

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

Put the attached file into features/support/. Example usage: When /^I open the task named "(.+?)"$/ do |task_name| task = page.all('.task...

Posted over 6 years ago by Tobias Kraze.

Starting with Rails 3.2, there is a nicer way to display custom error pages (i.e. "page not found") that does...

Posted over 2 years ago by Judith Roth.

Sometimes huge refactorings or refactoring of core concepts of your application are necessary for being able to meet new requirements...

Posted over 4 years ago by Henning Koch.

Javascript objects can have getter and setter functions that are called when a property is read from or written to...

Posted about 6 years ago by Dominik Schöler. aaronlasseigne.com

All Rubyists should be familiar with the common definitions for include and extend. You include a module to add instance...

Posted almost 5 years ago by Arne Hartherz.

Capybara will fail to find tags that are missing an href attribute. This will probably happen to you every now...

Posted 6 months ago by Henning Koch.

If your app does not need to support IE11, you can use most ES6 features without a build step. Just...

Posted over 5 years ago by Arne Hartherz. relishapp.com

Sometimes you have a test expectation but actually want a better error message in case of a failure. Here is...

Posted over 7 years ago by Ulrich Berkmueller.

In order to save the original value of a constant, set the new value and restore the old value after...

Posted 6 months ago by Dominik Schöler.

Suggested Workflow Set the ruby version in .ruby-version to 2.3.5, then perform these steps one by one, fixing errors...

Posted 7 months ago by Emanuel De.

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

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