cleanup activerecord