Permalink
Browse files

Document where `column` param gets utilized in `substitute_at`.

  • Loading branch information...
1 parent 16caf63 commit 9b89e1966d593f8f3357f75b0d489fc197750c96 @vipulnsward vipulnsward committed Jun 29, 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 9b89e19

Please sign in to comment.