Demonstrate the bug from Rails issue #18285