bumped up rails version to 3.2.13, fixed query breaking sqlite, swtich dev db to sqlite