demo for rails issue #16971