use activerecord 3 (version 4 freezes)