Thursday, June 28, 2012

OS X Lion + Oracle + ruby-oci8 Gem Solution (for Ruby 1.9.3)

Note to world: The how-to install ruby-oci8 on OS X Lion described here, also works for ruby 1.9.3:


    rvm install 1.9.3 -n i386 --with-arch=i386
    gem install ruby-oci8
    # doesn't blow up


Saturday, June 16, 2012

Simplified dynamic fixture extraction for ActiveRecord


I jumped on the Ruby test driven development (TDD) bandwagon a while ago...mostly...

For a while though, I've struggled to do Ruby TDD for projects involving complex data from external systems because Rails fixtures are such a pain in the ass to manage and object factories don't work because the data is too complex. The apps we build lately all seem to require the gnarly real world production data for test cases.  All of the existing solutions out there didn't quite get at what I was looking for.  For these reasons, I decided to buck up and make a fixture extraction gem for ActiveRecord.

Introducing Iron Fixture Extractor, a simplified dynamic fixture extraction solution for ActiveRecord.