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...
You know those helper methods that just render some HTML but look weird because of content_tags all over the...
We have a new gem Minidusen which extracts Dusen's query parsing and LIKE query functionality. Minidusen can no longer...
Improve geordi cucumber: Only attempt @solo run when the specified files contain the @solo tag, skip @solo run if any...
Capistrano is by default configured to exclude the gems of the groups development and test when deploying to the stages...
You want Spring for super-fast binstubs like bin/rails or bin/rspec which avoid Rails boot time. You want parallel_tests...
Sometimes you might need to nest a git-project inside another git-project. The right strategy is to use submodules...
Sometimes you want to test migrations with production or staging data. Dumping single tables makes sense if a complete dump...
Angular directives with isolate scopes have three different variable binding strategies, of which one is =. Example: # HTML # Coffeescript @app.directive 'panel...
Isolate scopes offer three kinds of variable binding. One of them is &, allowing to bind a property of the isolate...
If you need to modify (e.g. add 2px) a Sass variable that defines multiple values as one (e.g. for short...
To simulate Rails' to_sentence in your JavaScript application, you can use these few lines of CoffeeScript code: joinSentence = (array...
When you're nesting setTimeout(f, 0) calls, your browser will silently increase the delay to 5 milliseconds after the...
By convention, common protocols use a defined port, like 80 for HTTP or 443 for HTTPS. You can use nmap...
When building a web application, one is tempted to claim it "done" too early. Make sure you check this list...
...The and tags both come with some non-default behavior that you know from other tags.
You can define methods using def or define_method. In the real world, there is no performance difference.
Ruby 2.3.0 has been around since end of 2015. It brings some pretty nice new features! Make sure to read...