View
Posted almost 2 years ago by Arne Hartherz.

When localizing model attributes via I18n you may run into errors like this: I18n::InvalidPluralizationData: translation data {...

...} can not be...

Posted about 1 month 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 almost 7 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 about 1 month 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 about 1 month 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 about 1 month ago by Stefan Wagner.

If your Ruby project includes a gem like Spreewald that comes with some external step definition, RubyMine does not know...

Posted about 2 years ago by Henning Koch.

Capybara clears cookies before each scenario, but not other client-side data stores. If your app is using localStorage or...

Posted 3 months 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 over 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 3 months 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 3 months 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 3 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 3 months 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 4 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 4 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...

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