diff options
author | Sean Griffin <sean@thoughtbot.com> | 2014-11-21 15:33:46 -0700 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2014-11-21 15:36:21 -0700 |
commit | 71bb8c34f539f8ffbb7e7968f50f797e08812133 (patch) | |
tree | 68f267a5c0c6c58d311b031f3f7cbd1513481e9e | |
parent | f28d1ddd507174ac233b773cc4f35c3c05ad32e7 (diff) | |
download | rails-71bb8c34f539f8ffbb7e7968f50f797e08812133.tar.gz rails-71bb8c34f539f8ffbb7e7968f50f797e08812133.tar.bz2 rails-71bb8c34f539f8ffbb7e7968f50f797e08812133.zip |
ConnectionAdapter#substitute_at is technically public API...
We can't change the signature without a deprecation cycle.
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb index fa3483a258..e0a4af5359 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb @@ -265,7 +265,7 @@ module ActiveRecord # Returns a bind substitution value given a bind +column+ # NOTE: The column param is currently being used by the sqlserver-adapter - def substitute_at(column) + def substitute_at(column, _unused = 0) Arel::Nodes::BindParam.new end |