Learn how to create offline applications with service workers. The amazing power of service workers Writing your first service worker...
After a recent Ubuntu update I didn't see the main menu bar of the RubyMine IDE (File | Edit | View...
Sometimes new versions of software introduce new bugs. In this case you might not want the package to upgrade on...
When you use Sentry to monitor exceptions, an important feature is Sentry's error grouping mechanism. It will aggregate similar...
In Ruby on Rails, all the routes of a given application can be found within the config/routes.rb file.
Rails middlewares are small code pieces that wrap requests to the application. The first middleware gets passed the request, invokes...
If you have a Ruby Pathname, you can use the method :/ to append filepaths to it. With this method, Ruby...
If you migrate a Rails application from Sprockets to Webpack(er), you can either transpile your CoffeeScript files to JavaScript...
CSP hat zum Ziel einen Browser-seitigen Mechanismus zu schaffen um einige Angriffe auf Webseiten zu verhindern, hauptsächlich XSS...
GoodJob is a new background worker gem. It's compatible with ActiveJob. We're huge fans of Sidekiq for its...
"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...
PostgreSQL offers three character types for your columns: character varying(n) (also called varchar or just string): Contents are limited...
In a web application you sometimes have tasks that can not be processed during a request but need to go...
tl;dr Don't forget require 'English' if you use a named global such as $LAST_MATCH_INFO. Otherwise this...
We use the whenever gem to automatically update the crontab of the servers we deploy to. By default, whenever will...
In case you want to use pry with an older version of Ruby, you can try the following configurations.
Ruby and Rails have several methods for creating a new object that looks like another: clone, dup, deep_dup. When...
You can install rubygems 3.0.8 (released on February 18, 2020) to keep all the Gem::Specification#rubyforge_project deprecation warnings...
The linked GitHub repository is a bit like our "dev" cards deck, but groomed from a single person (Josh Branchaud...
With puma you can have concurrent requests. There are two concepts on how Puma can handle two incoming requests: Workers...
Simplecov is a code coverage tool. This helps you to find out which parts of your application are not tested...
A recent patch level Ruby update caused troubles to some of us as applications started to complain about incompatible gem...
Sometimes it's nice to have some coloring in your logs for better readability. You can output your logs via...