Webpacker uses Babel and Webpack to transpile modern JavaScript down to EcmaScript 5. Depending on what browser a project needs...

Sometimes, the IRB prints a warning during boot: irb: warn: can't alias source from irb_source. Explanation

rubydoc.info

CarrierWave comes with some RSpec matchers which will make testing more comfortable. Let's say you have an Uploader like...

Lets say we have a user with a contract whereas contract is a mounted carrierwave file. Now we want to...

When you find yourself constantly ignoring a RubyMine warning, you can simple disable that warning and de-clutter your editor...

MySQL and MariaDB have an SQL mode setting which changes how MySQL behaves. The SQL mode value is comprised of...

The httpclient gem comes with a custom SSL cert store. While an customizable, application-level cert store is great when...

You need to update a lof gems. Make sure you don't have any version constraints in your...

stackoverflow.com

Your default postgres user is named like your linux user. That default user has limited access privileges, which can cause...

Trying to open a vnc window with geordi geordi vnc ended up with this error: > VNC viewer could not be...

Understanding your type of cronjob Some cronjobs must only run on a single server. E.g. when you run nightly batch...

When installing gems, a lot of time is spent building locally installed documentation that you probably never use.

makandra dev
github.com

Katapult 0.3.0 brings Rails 5 and Ruby 2.5 support with a new design, plus a ton of smaller features, fixes...

Say you want to move a git repository from one remote (perhaps Github) to another (perhaps Gitlab).

ActiveSupport::Dependencies takes care of auto-loading any classes in development. This is usually useful, but when you run into...

TL;DR Use user.update!(remove_avatar: true) to delete attachments outside of forms. This will have the same behavior as...

Situation: You want to write a spec for a function inside an Angular service. This function at some point makes...

By default, browsers will not wrap text at syllable boundaries. Text is wrapped at word boundaries only. This card explains...

github.com

When writing XLSX files, there are gems like rubyXL or axlsx. While they do offer features like formatting or graphs...

Git has two kind of tags: annotated lightweight Annotated tags are stored as full objects in the Git database. They...

relishapp.com

In most projects I know, Cucumber test suite speed is not an issue. Of course, running 350 features takes its...

github.com

When you're using Sidekiq::Web to monitor the Sidekiq status AND have your session cookie configured to a wildcard...

RSpec allows you to mark a single Example/ExampleGroup so that only this will be run. This is very useful when...

github.com

When an Rspec example fails, I usually investigate by running that example again using rspec . However, this does not work...