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

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

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

Tod is a gem for working with daytimes. That's a tuple of (hour, minute second) without a day, month...

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

Many mail clients do not support external style sheets. Some even require all styling inline, which means you'll have...

While deploying an Ruby update to an old application these days, we encountered the following misleading error: *** [err :: some-host.makandra.de] You...

When we want to use our own (or bought) fonts in an application with Webpack(er), we have two options...

Webpacker is Rails' way of integrating Webpack, and version 4 has been released just a few days ago, allowing us...

We forked trusty memoizer to make two changes: Memoized methods now preserve their arity. Previously all memoized methods had an...

Bundler 2 requires at least Ruby 2.3.0 and RubyGems 2.5.0. You might get the following error when you try to...

makandra dev

This is a presentation from 2019-01-21. Summary We want to move away from jQuery in future projects