[#64961508] Fix deprecated find parameters in has_many.