I’m a big fan of MiniTest. I use it for basically all of my testing in Ruby. I’ve also started to use VCR to help with stubbing and recording HTTP requests during tests. In a nutshell, VCR lets hit the actual resource on the first run. VCR then records the results and replays them back [...]
Tag Archives: ruby
Full Tree Selects via Materialized Paths
03-Mar-09At my internship I have been working on this really awesome in-house analytics systems. One of the database tables used in this project behaves as a self-referential tree. Since I am using Ruby on Rails for this project, I decided to go with the acts_as_tree plugin on this particular model. This plugin adds various tree [...]