Browse files

Merge pull request #11174 from vipulnsward/remove_column_passing

Stop sending column info to `substitute_at` as it doesn't get utilized.
  • Loading branch information...
2 parents 6f014b3 + 9b89e19 commit f9fec4f46ba04f7c9a2d32941a1e386664b0145f @rafaelfranca rafaelfranca committed Jul 9, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/lib/active_record/connection_adapters/abstract_adapter.rb
View
4 activerecord/lib/active_record/connection_adapters/abstract_adapter.rb
@@ -307,8 +307,8 @@ def index_algorithms
# QUOTING ==================================================
- # Returns a bind substitution value given a +column+ and list of current
- # +binds+.
+ # Returns a bind substitution value given a bind +index+ and +column+
+ # NOTE: The column param is currently being used by the sqlserver-adapter
def substitute_at(column, index)
Arel::Nodes::BindParam.new '?'
end

0 comments on commit f9fec4f

Please sign in to comment.