A JavaScript error in an E2E test with Selenium will not cause your test to fail. This may cause you...
Geordi provides a pretty neat way to generate beautiful commit messages according to your stories in Linear: geordi commit
Migrating data from a legacy into a new system can be a surprisingly large undertaking. We have done this a...
At makandra, we've built a few gems over the years. Some of these are quite popular: spreewald (> 1M downloads...
As a web developer, you know Google Analytics (GA). Probably you've dropped the GA snippet into more than one...
Ruby has this handy block shortcut map(&:to_i) for map { |x| x.to_i }. However, it is limited to argument...
Using the JS fullscreen API is painful because all browers use different methods and events and you need to use...
Recent Bundler (1.16.1) started complaining about missing dependencies in the Gemfile. This is due to a stricter handling of specifications...
You need to update a lof gems. Make sure you don't have any version constraints in your...
When you have a pending Cucumber step (or feature) that also uses an existing VCR cassette, your pending test may...
Rails applications and ruby gems should have a README that gives the reader a quick overview of the project. Its...
Situation: You want to write a spec for a function inside an Angular service. This function at some point makes...
Slides for Henning's talk on Sep 21st 2017. Understanding sync vs. async control flow Talking to synchronous (or "blocking...
Here is some JavaScript code that allows you to click the screen and get the clicked element's text contents...
You should prefer native promises to jQuery's Deferreds. Native promises are much faster than their jQuery equivalent. Native promises...
rack-cargo gives your API a new /batch route that lets clients perform multiple API calls with a single request...
Use Traim to build a RESTful API for your ActiveRecord models with very little code. Traim assumes your API resources...
Rails 5 (don't know about the others) comes with an initializer wrap_parameters.rb. Here you can tell rails to wrap...
Put the line below in the respective env.rb file to make your action controllers raise an ActionController::UnpermittedParameters error when...
Ruby's standard library is in the process of being gemified. It will soon - Ruby 2.5 - consist of RubyGems, which...
Separate subject from body with a blank line Limit the subject line to 50 characters (max. 72), include...
The postMessage API is an alternative to JSONP, XHR with CORS headers and other methods enabling sending data between origins...
There are various ways to run external commands from within Ruby, but the most powerful ones are Open3.capture3 and Open3.popen3...
Occasionally, you have to talk to APIs via HTTPS that use a custom certificate or a misconfigured certificate chain (like...