migrated to ruby 2.0 and postgres