Minimal application to reproduce Rails issue 10952