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...
After upgrading to Rails 6.1.7.2 one of our apps printed a wall of warnings while booting: /var/www/app/shared/bundle/ruby/2.6.0/gems/net-protocol-0.2.1/lib/net/protocol.rb:68: warning: already...
In a Jasmine spec you want to spy on a function that is imported by the code under test. This...
This can happen with a very simple model: class Note has_many :attachments end Everything looks normal: Note.all.to_a.size # => 8 Note.all.ids.size...
Git allows you to set push options when pushing a branch to the remote. You can use this to build...
ActiveType::Object inherits from ActiveRecod::Base and is designed to behave like an ActiveRecord Object, just without the database...
When working with feature branches, stale branches pile up over time. It's best to remove them right after merge...
This should be fixed in the latest LTS-branches of our mysql2 fork, 0.2.x-lts and 0.3.x-lts...
The gemspec for gems allows to add metadata to your gem, some of which have a special meaning and are...
When you need information about a gem (like version(s) or install path(s)), you can use the gem binary...
The Interactive Advertising Bureau (IAB) is a European marketing association which has introduced a standard how advertising can be served...
Since GitLab 10.3. you can use Mermaid in GitLab comments: Gitlab Doc. With Mermaid you can create diagrams based on...
The RSpec matcher tests if two HTML fragments are equivalent. Equivalency means: Whitespace is ignored Types of attribute quotes are...
To start a workflow manually it must have a trigger called workflow_dispatch: --- name: Tests on: push: branches: - master
If you have a flaky command you can use the nick-invision/retry to re-try a failing command, optionally...
Accessing other repositories in Gitlab CI is not straight forward, since the access rights of the current pipeline might not...
When deleting a record in your Rails app, Carrierwave automatically takes care of removing all associated files. However, the file...
Use rules to include or exclude jobs in pipelines. Rules are evaluated in order until the first match. When a...
If a project ist configured to spawn CI runners for tests or deployment when pushing to the Repo, a habit...
We had the issue, that a VCR spec failed, after updating CarrierWave from version 0.11.0 to 1.3.2. In this version...
tl;dr: Upgrade the gem to at least 4.0.1 When you use rspec_rails in a version < 4 with Rails...
A rough guide how to implement a REST API. The discussion here includes some interesting points as well: Timestamps: ISO8601...
Rails 6 includes a WYSIWYG editor, Action Text. It works out of the box quite well, but chances are that...