Browsers usually cache website content in order to provide the user with faster responses. Examples are returning to a website...
In RubyMine folders can be excluded from search, navigation etc. by marking it as excluded. You might sometimes wish to...
When storing files for lots of records in the server's file system, Carrierwave's default store_dir approach may...
If your Webpack build is slow, you can use the Speed Measure Plugin for Webpack to figure out where time...
Webpack builds can take a long time, so we only want to compile when needed. This card shows what will...
Use rules to include or exclude jobs in pipelines. Rules are evaluated in order until the first match. When a...
This card is a general reminder to avoid the short version of a command option in shared code. It's...
Generate a password htpasswd -Bn firstname.lastname This will ask you for a password and use bcrypt (-B, more secure) and...
If a project ist configured to spawn CI runners for tests or deployment when pushing to the Repo, a habit...
To attach files to your records, you will need a new database column representing the filename of the file...
The attached article examines what the percent unit (%) is relative to in CSS The article does a great job of...
When you have a hex color code, you can easily convert it into its RGB values using plain Ruby.
https://tableconvert.com/ is an online tool to convert tables between different formats (e.g. json, markdown, csv).
We prefer to run our end-to-end tests with headless Chrome. While it's a very stable solution overall...
When your Rails application server raises error, Capybara will fail your test when it clears the session after the last...
When your application is open for public sign up and sends out transactional e-mails to a large number of...
Browsers blocks abusable JavaScript API calls until the user has interacted with the document. Examples would be opening new tab...
In Ruby (almost) everything is an Object. While this enables a lot of powerful features, this concept might be confusing...
The ActionDispatch module of Rails gives you the helper method flash to access the flash messages in a response.
capybara-lockstep can help you with flaky end-to-end tests: This Ruby gem synchronizes Capybara commands with client-side...
json is part of the standard library of Ruby and deals with JSON, obviously. As you know, JSON is the...
We had the issue, that a VCR spec failed, after updating CarrierWave from version 0.11.0 to 1.3.2. In this version...
ZSH is an alternative command line shell that includes some features like spelling correction, cd automation, better theme, and plugin...
By default parallel_tests will spawn as many test processes as you have CPUs. If you have issues with flaky...