Some users might use Adblock Plus or similar browser plugins to reduce the number of ads displayed. If you run...
A flaky test is a test that is often green, but sometimes red. It may only fail on some PCs...
If you want Sidekiq to be able to talk to Redis on staging and production servers, you need to add...
Within development and test environments, Rails is usually configured to show a detailed debug page instead of 404s. However, there...
This RailsCast demonstrated a very convenient method to activate VCR for a spec by simply tagging it with :vcr.
Bookmarks for directories will be most helpful if you are forced to work in deeply nested projects. Then it's...
With cd .. you can navigate one directory up from the one you are at now. If you use that a...
Rails has the handy controller method send_file which lets us download files easily. We can decide whether the file...
It is generally discouraged to load your JavaScript by a tag in the : The reason is that a tag will pause the DOM parser until the script has loaded and executed. This will delay the browser's first contentful paint. A much better default is to load your scripts with a tag: A deferred script has many...
This bookmarklet grabs a PivotalTracker story title, transforms it into a valid git branch name and automatically prepends your initials...
It seems like changing the HTTP_ACCEPT_LANGUAGE is not possible for a headless chrome. On Ubuntu the headless Chrome...
Formerly 301 (Moved Permanently) and 302 (Found) were used for redirecting. Browsers did implement them in different ways, so since...
When using RestClient to make an HTTP request, it will raise an exception when receiving a non-successful response.
Accessing other repositories in Gitlab CI is not straight forward, since the access rights of the current pipeline might not...
The Node Version Manager allows installing multiple NodeJS versions and switching between them. By default, it does not automatically switch...
When dealing with external data sources, you may have to deal with improperly encoded strings. While you should prefer deciding...
When a Ruby version gem has a letter in its version number, it is considered a pre-release:
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...
Installing gems on a server that has no access to the internet (especially rubygems.org) requires to bundle the gems into...
To attach files to your records, you will need a new database column representing the filename of the file...
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...
The ActionDispatch module of Rails gives you the helper method flash to access the flash messages in a response.