"Everything in Ruby is an object". This is also true for nested hashes and arrays. If you copy a hash...
A recent patch level Ruby update caused troubles to some of us as applications started to complain about incompatible gem...
Embedding videos on a website is very easy, add a tag to your source code and it just works...
We can use ActiveRecord's where to add conditions to a relation. But sometimes our condition is not on the...
Or: How to avoid and refactor spaghetti code Please note that I tried to keep the examples small. The effects...
This is a personal post-mortem analysis of a project that was mainly build to provide a REST API to...
PostgreSQL and ActiveRecord have a good support for storing dynamic attributes (hashes) in columns of type JSONB. But sometimes you...
Root Insurance runs their application as a monolithic Rails application – but they've modularized it inside its repository. Here is...
Debugging image color profiles is hard. You can't trust your eyes in this matter, as the image rendering depends...
Browsers come with a set of built-in elements like or . When we need a new component not covered by...
It's every developer's nightmare: SQL queries that get large and unwieldy. This can happen fairly quickly with the...
Bundler 2 introduced various incompatibilites und confusing behavior. To add to the confusion, Bundler's behavior changed after the release...
You can use the Youtube API to get data from youtube. Here are some resources and some things that are...
jQuery is still a useful and pragmatic library, but chances are increasingly that you’re not dependent on using it...
Capybara provides execute_script and evaluate_script to execute JavaScript code in a Selenium-controlled browser. This however is not...
WProofreader is a spelling and grammar checking tool that integrates with textareas and numerous WYSIWYG editors. While it usually activates...
As an application exists, data accumulates. While you'll be loosely monitoring the main models' record count, some supportive database...
I got this error after upgrading Ruby from 2.4.5 to 2.6.4 when I opened the Rails console - rails server still...
Use the compile function to change the original DOM (template element) before AngularJS creates an instance of it and before...
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...
MariaDB (and MySQL) is released in different versions with different behaviors. For backwards compatibility this can be managed with the...
General hints on the DOM the root of the DOM is document custom elements inherit from HTMLElement. They need a...
webpack is a very powerful asset bundler written in node.js to bundle (ES6) JavaScript modules, stylesheets, images, and other assets...