rails/rails — pull request #9469 by senny (2013-02-27 19:03:01+00:00)
Title: `format: true` does not override existing format constraints.

Closes #9466.

Passing `format: true` used to override the constraints: { format: /json/ }
with `/.+/`. This patch only sets the format if there is no constraint present.