Gems


A framework for building evolutionary behaviors in Ruby
A framework for building evolutionary behaviors in Ruby.Evolutionary algorithms build upon ideas such as natural selection, crossover, and mutation to construct relatively simple solutions to complex problems. This gem has been used to implement e...



A Rails database query counter that stays out of your way
Query Diet counts the number of database queries for the last request and subtly displays it in the upper right corner of your screen. The display turns red if too many queries are run, or if they take too long. This is useful to prevent N 1 que...

Parser combinator library for Ruby inspired by Haskell's Parsec
This is a library used to define parsers by declaratively describing a syntax using what's commonly referred to as combinators. Parser combinators are functions that take parsers as inputs and/or return parsers as outputs, i.e. they combine parser...



RSpec and Minitest matchers to prevent N 1 queries problem
Unlike other libraries (such as db-query-matchers, rspec-sqlimit, etc), with n_plus_one_control you don't have to specify exact expectations to control your code behaviour (e.g. expect { subject }.to query(2).times).Such expectations are rather ha...

A rewriting web proxy for testing interactions between your browser and external sites.
Billy spawns an EventMachine-based proxy server, which it uses to intercept requests sent by your browser. It has a simple API for configuring which requests need stubbing and what they should return.Billy lets you test against known, repeatable d...