Gems
Stub that automatically verifies that stubbed methods exist and the signatures match the original.
Sometimes fakes are a good choice. But the price is high. In particular, they make changing code harder. You rename a method, but all tests that stub the previous version keep passing. It would be nice if those started to fail so that when they're...
Lazy loading associations for the ActiveRecord models
ArLazyPreload is a gem that brings association lazy load functionality to your Rails applications. There is a number of built-in methods to solve N 1 problem, but sometimes a list of associations to preload is not obvious–this is when you can get ...
A more helpful way to view differences between complex data structures in RSpec.
The primary motivation behind this gem is to vastly improve upon RSpec's built-in diffing capabilities.Sometimes, whenever you use a matcher such as eq, match, include, or have_attributes, you will get a diff of the two data structures you are try...