loosen a bit activerecord dependency