makandra dev

You need to install the official plugin, it is not bundled with RubyMine by default. Example: Setup a watcher...

bugs.launchpad.net

Terminator has a cool feature that allows you to split your terminal into many panels and type in all of...

github.com

Scroll and touch event listeners tend to be computationally expensive as they are triggered very often. Every time the event...

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...

Ubuntu 18.04 uses systemd to manage services. There are basically two commands for listing all services and manipulating the state...

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...

Installing old Rubies (<= 2.3) with a standard rbenv + ruby-build is no longer possible on Ubuntu 20.04. This is because...

When loading a database dump created with pg_dump into your database, you might run into an error like

It sometimes happen that a database dump, that would want to insert into your development database, does not match the...

web.archive.org

There is a common view that extracting text from a PDF document should not be too difficult. After all, the...

The sidekiq-rate-limiter gem allows rate-limiting Sidekiq jobs and works like a charm. However, it needs to be...

makandra dev

If you're using the webdrivers gem and VCR together, depending on your configuration, VCR will yell at you regulary...

simple-form-bootstrap.plataformatec.com.br

Good reference how to build bootstrap forms with simple_form.

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...

CSS variables are very different from preprocessor variables. While preprocessors use variables to compile a static piece of CSS, CSS...

A flat folder structure can be cool if you have only a few folders but can be painful for huge...

Rails 5.2+ supports "verbose query logs" where it shows the source of a query in the application log.

This error occurs when passing an object instead of a string to Jasmine's describe(): # Bad describe(HoverClass, function() {...

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...