add factory_girl and update activerecord gem