Most of our applications use CarrierWave for file uploads. CarrierWave has an integrated processing mechanism for different file versions with...

By default, Devise sends all emails synchronously with deliver_now. To change that, Devise's readme suggests overwriting the send...

You don't want sensitive user data in your logs. Background Rails per default filters sensitive data like...

Disclaimer This card is a collection of guides and things to have in mind when upgrading to a specific version...

Both knapsack and parallel_tests have the option to split groups by historic execution time. The required logs for this...

github.com

For my computer science bachelor's thesis I programmed and evaluated a CLI Test Case Prioritization (TCP) tool for makandra...

atlassian.com

Git log offers useful options for filtering. This card provides a short overview. By message Only commits that include a...

stefanjudis.com

Suppose you want to implement a publish/subscribe pattern in your Frontend application to react to data changes and events. First...

When RubyMine reports Rubocop returning "exit code -1", upgrading Rubocop can be the fix: gem install rubocop "The logs" can...

Splitting up commits makes the process of reviewing often easier, since you can create several merge requests or review every...

tl;dr asdf allows you to manage multiple runtime versions with a single CLI tool and is backwards compatible by...

makandra dev

This is a checklist I use to work on issues. For this purpose I extracted several cards related to the...

Sometimes I ran across a GitHub merge request of a gem where it was not completely obvious in which version...

Our CI setup frequently sees this error while running yarn install: yarn install v1.22.19 [1/4] Resolving packages... [2/4] Fetching packages...

makandra dev

In a Jasmine spec you want to spy on a function that is imported by the code under test. This...

You have uncommited changes (you can always check by using git status), which you want to discard.

If you want to see the git history of a project file, that doesn't exist anymore, the normal git...

In case you have trouble with the zeitwerk autoloader, you can check out the documentation Autoloading and Reloading Constants and...

It might sometimes be useful to check whether your Rails application accesses the file system unnecessarily, for example if your...

We use foreman to start all necessary processes for an application, which are declared in a Procfile. This is very...

You want to deploy new features but the latest commits are not ready for production? Then use git merge master...

Jasmine has spyOnProperty(), but it only works if the property is implemented using getter and setter functions. This is a...

makandra dev

Inspired by recent "git shortcut" cards I figured it would be nice to have one of these for rebasing a...

Event delegation is a pattern where a container element has a single event listener that handles events for all descendants...