At makandra, we've built a few gems over the years. Some of these are quite popular: spreewald (> 1M downloads...
If you want to fill in textareas with multiple lines of text (containing line breaks / new lines) you can use...
If possible your code should detect features, not browsers. But sometimes you just need to sniff the browser. And when...
The 90s are calling: they want their tables back. Unfortunately, you need them all for laying out your HTML emails...
RSpec let's you chain a matcher with .or. The expectation will then pass if at least one matcher matches...
There is a kinda secret, yet well supported CSS feature called currentColor. It's like a special CSS variable that...
A matcher is a function that returns an object with a compare key. Usually it is registered with beforeEach...
Webpacker uses Babel and Webpack to transpile modern JavaScript down to EcmaScript 5. Depending on what browser a project needs...
When you find yourself constantly ignoring a RubyMine warning, you can simple disable that warning and de-clutter your editor...
geordi delete_dumps [directory] Recursively search for files ending in *.dump and offer to delete those. When no...
You need to update a lof gems. Make sure you don't have any version constraints in your...
We often use the Then console step from spreewald in combination with geordi vnc from geordi to debug tests within...
In Spreewald 1.10.4+, nested patiently blocks are now patient. Here is an example: patiently do outer_code patiently do
Use bundler > 1.15 to fix Gem::LOADED_SPECS_MUTEX (NameError). Given the following project: ruby -v ruby 1.8.7
Here is how to use Chromedriver without libraries like selenium-webdriver. This can be useful for debugging. The following example...
Generating a project README Finally: Support for modelling associations between models in your application model! Example: # lib/katapult/application_model.rb
When you have a pending Cucumber step (or feature) that also uses an existing VCR cassette, your pending test may...
Katapult 0.3.0 brings Rails 5 and Ruby 2.5 support with a new design, plus a ton of smaller features, fixes...
This cucumber step is useful for testing an image (looking at the src of the image). Then(/^I should see...
This is painful. Consider using Microsoft Office or switching careers. If you need to write < 20 letters consider doing it...
This error is raised because your old database does not have a configured environment yet, which Rails 5 enforces.
By default, browsers will not wrap text at syllable boundaries. Text is wrapped at word boundaries only. This card explains...
When writing XLSX files, there are gems like rubyXL or axlsx. While they do offer features like formatting or graphs...
Summary: Don't add chromedriver-helper to the Gemfile the executables might break your tests in projects where chromedriver-helper...