It is very common to parse dates from strings. It seems obvious to use Date.parse for this job. However this...
Mobile Chrome and Safari support the "web share API" which allow you to use the native share functionality of an...
Geordi uses parallel_tests if available for running the test suite. To debug an application it is very unhandy to...
When debugging your application, you will come across objects created by some gem or framework. You don't have the...
TL;DR: All modern browsers default to using the element as the main document viewport. In CSS, prefer to set...
Font Awesome 5 is a comprehensive solution for vector icons on your website. Originally, Font Awesome came as an icon...
Normally you can list all gems of the current ruby version with gem list, which also includes the gems of...
In this example we assume that not only the storage gem changes but also the file structure on disc.
Masonry is a famous library to dynamically arrange a grid of items that have different aspect ratio, like horizontal and...
For Sidekiq to be able to retry your jobs it has to be able to catch errors that occur while...
Cross-Site Request Forgery (CSRF) is an attack pattern for websites. A CSRF attack is usually relevant in a...
Rails 5.2 soft-deprecated the storage of secrets in secrets.yml in favor of a new thing, credentials.yml.enc. Rails 7.1 deprecated...
Geordi provides a pretty neat way to generate beautiful commit messages according to your stories in Linear: geordi commit
Geordi's cucumber command has a --rerun option that reruns failing tests the given number of times. Usage: geordi cucumber...
...HTML's accepts a single file. You can allow multiple files via . But sometimes, selecting multiple files is not enough...
When writing a story description in Pivotal Tracker, there is now a tiny button at the bottom of the description...
If you use transactional_fixtures or the database_cleaner gem with strategy :transaction, after_commit callbacks will not be fired...
If validations failed for a record, and you want to find out if a specific validation failed, you can leverage...
Flexbox is awesome. Most of it even works in IE11, but flex: 1 won't work reliably in Internet Explorer...
Restricting access to cookies is essential for security in many web apps. For example, the session ID, the secret token...
Let's say you have a gem which has the following module: module SuperClient def self.foo 'Foo' end
We want to keep a changelog for all gems we maintain. There are some good practices for writing a changelog...
Most forms have a single submit button that will save the record when pressed. Sometimes a form needs additional submit...
Migrating data from a legacy into a new system can be a surprisingly large undertaking. We have done this a...