Exercise 1: XML On the start page of your Movie DB, show the title of a random movie that is...
Adopting legacy Rails apps Talk to your mentor about how we're approaching applications that are either old or abandoned...
So you're getting this failure when running bundle install on an older project: Your Gemfile.lock is corrupt. The following...
This card tries to summarize by example the different uses of heredoc. In Ruby << vs. <<- vs. <<~ In Rails strip_heredoc...
The linked article states that CSS breakpoints should group "similar" screen sizes and thus be at: 600px "narrow"
TL;DR Debugging problems with javascript errors in cucumber tests is sometimes easier in the browser. Run the test, stop...
If your external displays not switching on or showing a weird behavior (for e.g. all displays getting the same configuration...
When running tests via parallel_tests, you may encounter an error: cannot load such file -- parallel_tests/gherkin/runtime_logger Error creating formatter...
When testing your command line application with Aruba, you might need to stub out other binaries you don't want...
When you're writing specs for ActiveRecord models that use memoization, a simple #reload will not do: it 'updates on...
We used zeroclipboard.js in some of our projects but now we switched to clipboard.js because it does not rely on...
Yesterday I stumbled across a talk in which the guy mentioned module sub-classing. I was curious what you can...
In order to have monitoring for Sidekiq (like queue sizes, last run of Sidekiq) your application should have a monitoring...
Instantiating ActiveRecord objects comes expensive. To speed up things, you can choose a more direct way to talk to your...
When working with custom transactions and use ActiveRecord::Rollback you may encounter unexpected behaviour if you try to roll back...
VCR lets you configure how it matches requests to recorded cassettes: In order to properly replay previously recorded requests, VCR...
If you want to find the commits that touched a specific text in a file, use git log -S 'text...
We often use VCR to stub external APIs. Unfortunately VCR can have problems matching requests to recorded cassettes, and these...
SVG is an acronym for "scalable vector graphics". SVGs should be used whenever an image can be described with vector...
You might get the above error message when cloning certain git repositories (for example the rails repository). It indicates that...
We have released a new library Gemika to help test a gem against multiple versions of Ruby, gem dependencies and...
Say you have an RGBA color that you need as a non-transparent color because of reasons. Basically, this is...
Same requests are recorded only once in vcr. Replaying a test fails, if you trigger the same request multiple times...
Similar to our snippet that runs all Cucumber features matching a given string, the following will run all modified or...