SSHKit 1.9.0 might fail with the following error, when trying to deploy a Rail application. Upgrading the gem to version...
Using Ruby 1.8.7 you will not be able to use the maximum versions Rubygems 1.8.30 and Bundler 1.17.3 with https://...
When deploying a Rails application that is using Webpacker and Capistrano, there are a few configuration tweaks that optimize the...
IRB 1.2 (shipped with Ruby 2.7, but works on 2.5+) brings pretty syntax highlighting and multiline cursor navigation. However, pasting...
This card is mainly an explanation how variable fonts work in CSS, not necessarily a recommendation to actually use them...
Git diffs show the surrounding contexts for diff hunks. It does so by applying regular expressions to find the beginning...
Minidusen lets you find text in associated records. Assume the following model where a Contact record may be associated with...
If you have installed Rubocop in your project, RubyMine can show you Rubocop violations immediately in your editor. You probably...
You need to install the official plugin, it is not bundled with RubyMine by default. Example: Setup a watcher...
curl-to-ruby is a handy tool that converts your curl command to ruby code that uses the Net::HTTP...
The linked article compares two approaches for writing CSS: A component library (like BEM) Utility classes (like Tailwind)
In Rubocop you might notice the cop Style/CaseEquality for e.g. this example: def foo(expected, actual) expected === actual end
Here is a short summary of Cucumber hooks in Ruby taken from https://github.com/cucumber/cucumber-ruby. Note that the BeforeStep is...
Sometimes you want to find the inverse of an ActiveRecord scope. Depending on what you want to achieve, this is...
We currently test most of our gems on Travis CI, but want to migrate those tests to Github Actions. This...
If you're experiencing problems with your Google Chrome installation after an update, it might help downgrading Chrome to check...
While debugging a SPF record I found spf-record.de to be very helpful. it lists all IPs that are covered by...
Installing old Rubies (<= 2.3) with a standard rbenv + ruby-build is no longer possible on Ubuntu 20.04. This is because...
Fix: downgrade net-ssh to version 2.9.1.
The sidekiq-rate-limiter gem allows rate-limiting Sidekiq jobs and works like a charm. However, it needs to be...
If a model inherits from others or uses many concerns / traits, it might be hard to see in the code...
When logging in Rails, you can use the log_tags configuration option to add extra information to each line, like...
ActiveRecord provides the ids method to pluck ids from a scope, but what if you need to pluck Global IDs...
If you want to get the path of a file relative to another, you can use the expand_path method...