These are the results of the "personal tech stack survey". I've included only the most popular mentions, maybe it...

Ruby includes many standard gems that are bundled into the Ruby installation. Here is an example for the gem strscan...

Somewhat regularly, you will need to filter a list down to some items and then map them to another value...

Testing file download links in an end-to-end test can be painful, especially with Selenium. The attached download_helpers.rb provides...

tl;dr With ES2021 you now can use str.replaceAll(), Promise.any(), logical assignment operators, numeric separators and WeakRef on all major...

makandra dev

You'll need openssl-3 or newer for servers running 22.04 Ruby version 3.1 uses by default the gem openssl...

There is a way to use multiple databases in Rails. You may have asked yourself how you're able to...

When you need information about a gem (like version(s) or install path(s)), you can use the gem binary...

github.com

ruby-warning adds custom processing for warnings, including the ability to ignore specific warning messages, ignore warnings in specific files/directories...

Redis.current will be removed without replacement in redis-rb 5.0. Version 4.6.0 adds deprecation warnings for Redis.current and Redis.current=: `Redis.current...

makandra dev

To ensure a consistent code style for JavaScript code, we use ESLint. The workflow is similar to integrating rubocop...

makandra dev
stackoverflow.com

This StackOverflow question about nested function definitions in Ruby imparts a good understanding of Ruby's def.

Jasmine is a great way to unit test your JavaScript components without writing an expensive end-to-end test for...

You want to use fields in your applications. However, your desktop users may encounter some weird quirks: Aside from allowing...

makandra dev

The gem better_errors offers a detailed error page with an interactive REPL for better debugging. I had the issue...

Ruby lets you re-use existing RegExp objects by interpolating it into new patterns: locales_pattern = /de|en|fr|es/i...

The rubygems binary gem allows to extract a local gem with gem unpack GEMNAME. For more details see the official...

I encountered a unlucky behavior of byebug 11.1.3 (the most recent version at time of writing) when using it with...

When dealing with external data sources, you may have to deal with improperly encoded strings. While you should prefer deciding...

makandra dev

You can publish pre-release versions of an npm package. Naming convention for pre-release versions An npm package must...

makandra dev

When a Ruby version gem has a letter in its version number, it is considered a pre-release:

ruby-lang.org

Ruby 3.0 introduced a breaking change in how it treats keyword arguments. There is an excellent blog post on the...

When you have a hex color code, you can easily convert it into its RGB values using plain Ruby.

makandra dev

When your application is open for public sign up and sends out transactional e-mails to a large number of...