put rails admin code after the associations setup