diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2017-05-04 12:39:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-04 12:39:13 -0700 |
commit | 6d105c7f891a14316eab47dfff3bf1b94f3204e7 (patch) | |
tree | b3ca61f5ff9a083f0b64611788554480d94d36dd /lib/arel/nodes | |
parent | 437aa3a4bb8ad4f3f4eba299dbb1112852f9c7ac (diff) | |
parent | 5d6d14cb6be217abc04253da0fe49721d09e9575 (diff) | |
download | rails-6d105c7f891a14316eab47dfff3bf1b94f3204e7.tar.gz rails-6d105c7f891a14316eab47dfff3bf1b94f3204e7.tar.bz2 rails-6d105c7f891a14316eab47dfff3bf1b94f3204e7.zip |
Merge pull request #482 from kirs/multiple-insert
Support multiple inserts
Diffstat (limited to 'lib/arel/nodes')
-rw-r--r-- | lib/arel/nodes/tuple.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/arel/nodes/tuple.rb b/lib/arel/nodes/tuple.rb new file mode 100644 index 0000000000..4e088a79aa --- /dev/null +++ b/lib/arel/nodes/tuple.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true +module Arel + module Nodes + class Tuple < Node + attr_reader :values + + def initialize(values) + @values = values + super() + end + end + end +end |