reverting because of activerecord adapter and rails 3.1