diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2016-05-06 11:58:57 -0500 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2016-05-06 11:58:57 -0500 |
commit | cff88eaa6b385f887c2e4d12342ddeb0651f1017 (patch) | |
tree | a3f7551e50c9e8696a1f14aecbe77ff3de92425e /lib/arel/visitors | |
parent | bc4c02b68f0e08c45bc7a62807196bf68c9bae72 (diff) | |
parent | 653966773238f82c78b4aa55379e624cd407e588 (diff) | |
download | rails-cff88eaa6b385f887c2e4d12342ddeb0651f1017.tar.gz rails-cff88eaa6b385f887c2e4d12342ddeb0651f1017.tar.bz2 rails-cff88eaa6b385f887c2e4d12342ddeb0651f1017.zip |
Merge pull request #422 from yahonda/oracle12_support_bind_value
Support Oracle bind parameter value for Oracle12 visitor
Diffstat (limited to 'lib/arel/visitors')
-rw-r--r-- | lib/arel/visitors/oracle12.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/arel/visitors/oracle12.rb b/lib/arel/visitors/oracle12.rb index d21a829848..9b722e8c0c 100644 --- a/lib/arel/visitors/oracle12.rb +++ b/lib/arel/visitors/oracle12.rb @@ -50,6 +50,10 @@ module Arel super end + + def visit_Arel_Nodes_BindParam o, collector + collector.add_bind(o) { |i| ":a#{i}" } + end end end end |