fix factories
ruby 1.9/2.0 compatible :)
Merge pull request #5 from mindreframer/ruby2.0

Ruby2.0