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...
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...