this method was not used, not documented and not tested.
While I was looking through the code to implement #6984 I found that this method seems to have lost it's purpose.
remove unused `expand_range_bind_variables` method
@rafaelfranca @steveklabnik do you know of any usage for this method? I think we can drop it since it's not used anywhere.
Right. The last usage of this method was removed at 77c23b2
@rafaelfranca thanks for the immediate response :)
@senny Did you also implement #6984? :)
@gucki I did not yet finish that... let me check my local branch. My vague memory is that there was something holding me back from finishing this feature.
@gucki I checked again and the issue is, that the complete Sanitization currently is on the ActiveRecord::Base level. execute however is one level deeper on the connection. At the time I did not think the necessary refactoring was justified by this feature.
@senny Thanks for the info. Imo it might be a good idea to refactor this anyway, as it doesn't really belong to ActiveRecord::Base but to the connection, don't you think?