The Ruby standard lib ships with a YAML Parser called Psych. But serializing and deserializing data seems not as obvious...

makandra dev

There is a practical short list for valid/invalid example email addresses - Thanks to Florian L.! The definition for valid emails...

WProofreader is a spelling and grammar checking tool that integrates with textareas and numerous WYSIWYG editors. While it usually activates...

Most of the time it is a tedious task to apply a code style guide to an existing code...

As an application exists, data accumulates. While you'll be loosely monitoring the main models' record count, some supportive database...

github.com

I got this error after upgrading Ruby from 2.4.5 to 2.6.4 when I opened the Rails console - rails server still...

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

github.com

With this gem your transaction blocks raise an error when they have side effects that cannot be rolled back.

makandra dev

The ruby sass gem also installs a command line tool to convert to and from SCSS. Use it for a...

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

Rails is split into a large number of (sub-) frameworks. The most important and central of those are activesupport (extends...

When upgrading Clearance, pay attention whether the password hashing strategy might have changed. Old clearance versions (< 1.0) used SHA1-encrypted...

You can share a state in Ruby with global variables. Even if you should avoid them whenever possible, for debugging...

makandra dev

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

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

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

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

The gem json fails to install for Ruby 2.5 if you use a version equal or below 1.8.3.

Travis changed their default distribution from Ubuntu 14.04 (trusty) to 16.04 (precise). This might break your test setup for new...

When installing a gem you can use version comparators like >= or ~>. That way it is possible to fetch the latest...

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

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

To keep JavaScript sources small, it can sometimes make sense to split your webpack bundles. For example, if your website...

We're always striving towards keeping our website's JavaScript as small as possible. If you're using webpack(er...