Fix activerecord specs