rails/rails — pull request #13136 by pftg (2013-12-02 21:10:37+00:00)
Title: Reindex bind params for sub-queries

On building where values in `where!` with relation as hash constraint
added reindexing of bind params positions to be linked with corresponded
bind values

Fixes: #12753