In Ruby on Rails, all the routes of a given application can be found within the config/routes.rb file.
If you have a very large datadir in MariaDB and you want to transfer the data to another host (e.g...
Chrome has a built-in utility to check performance and accessibility (and more) of your web app: Lighthouse.
In interactive commands, Git allows the user to provide one-letter input with a single key without hitting enter (docs...
When writing some logs to a file, that don't use Ruby's logger utility, it is often useful to...
Here is an example with the --tags option. You need to wrap them inside --cucumber-options option of parallel_cucumber...
Rails middlewares are small code pieces that wrap requests to the application. The first middleware gets passed the request, invokes...
If you're about to handle X509 certificates and don't want to remember/google a handful of openssl commands you...
If you have a Ruby Pathname, you can use the method :/ to append filepaths to it. With this method, Ruby...
We structure our CSS using the BEM pattern. Our naming convention for blocks, elements and modifiers has evolved over the...
I experienced a lot of issues with google chrome that made it almost impossible to work with it. Here are...
Ruby's File class has a handy method binary? which checks whether a file is a binary file. This method...
If you want to prevent that two processes run some code at the same time you can use the gem...
grep is the go-to CLI tool to accomplish tasks like filtering large files for arbitrary keywords. When additional context...
If you migrate a Rails application from Sprockets to Webpack(er), you can either transpile your CoffeeScript files to JavaScript...
We're pleased to announce Ruby 3’s new language for type signatures, RBS. One of the long-stated goals...
4.0.0 2020-07-30 Compatible changes Improved documentation; README now includes command options. Improvement #90: geordi console, geordi deploy, geordi...
These warnings are printed when the etc Gem is installed, while etc is also included in Ruby. Fix with:
We use Sentry to be informed about different kinds of issues. One of the key features is that you are...
"Open-source software (OSS) is great. Anyone can use virtually any open-source code in their projects." Well, it depends...
If you have a :string or :text field, you should pair it with a model validation that restricts its length...
Nokogiri is great. It will even fix invalid HTML for you, like a browser would (e.g. move block elements out...
FactoryBot allows to create traits from Enums since version 6.0.0 The automatic definition of traits for Active Record enum attributes...
Here is an ES5 object literal with two string properties and a function property: let user = { firstName: 'Max', lastName: 'Muster...