Also see the list of IRB commands. Switching the context Changes the "default receiver" of expressions. Can be used to...
While the main goal always is to prevent long-running queries in the first place, automatic timeouts can serve as...
What is makandra cards? We are makandra, a team of 60 web developers, DevOps and UI/UX experts from Augsburg, Germany...
Postgres works differently See PostgreSQL: Difference between text and varchar columns for PostgreSQL-specific info MySQL has 4 different column...
A list of clever debugging tricks. TOC: Advanced Conditional Breakpoints monitor() class Calls Call and Debug a Function Pause Execution...
Context and further resources Even though you can get 90% of debugging done with up to 5 basic byebug commands...
This is a checklist I use to work on issues. For this purpose I extracted several cards related to the...
To retrieve only unique combinations of the selected attributes: You can omit rows, where all selected columns are equal with...
Hide/Show Drawer You can press Escape to show/hide the drawer. Fast Navigation with Command Menu Use Ctrl + Shift + p to...
tl;dr The Chrome DevTools are a neat collection of tools for the daily work as a web developer. If...
This should be fixed in the latest LTS-branches of our mysql2 fork, 0.2.x-lts and 0.3.x-lts...
Besides their default styling properties, HTML elements have a semantic meaning. For example, an h1 tag is usually styled with...
Bookmarks for directories will be most helpful if you are forced to work in deeply nested projects. Then it's...
We had a card that described how to install multiple mysql versions using mysql-sandbox. Nowadays with the wide adoption...
After switching a project from Sprockets to Webpack, I started observing a bug that was hard to debug: Our...
In Ruby (almost) everything is an Object. While this enables a lot of powerful features, this concept might be confusing...
5.4.0 2021-02-01 Compatible changes Add geordi branch command that checks out a feature branch based on a story...
Recently I made an upgrade from Bootstrap 3 to Bootstrap 4 in a bigger project. Here are some tips how...
Rails 6 includes a WYSIWYG editor, Action Text. It works out of the box quite well, but chances are that...
We currently test most of our gems on Travis CI, but want to migrate those tests to Github Actions. This...
A flat folder structure can be cool if you have only a few folders but can be painful for huge...
If you have a :string or :text field, you should pair it with a model validation that restricts its length...
If you render markdown from user input, an attacker might be able to use this to inject javascript code into...
We can use ActiveRecord's where to add conditions to a relation. But sometimes our condition is not on the...