diff options
author | Pedro Sena <sena.pedro@gmail.com> | 2017-02-28 18:10:40 -0300 |
---|---|---|
committer | Pedro Sena <sena.pedro@gmail.com> | 2017-02-28 18:10:40 -0300 |
commit | 95ffacb33d463df8afcb102b3efebe75827dbe03 (patch) | |
tree | a937b86901c900356980332a64bf936ef3687c95 /lib | |
parent | 436db6d6e609305aca0d7b0a5b06b81a320a4320 (diff) | |
download | rails-95ffacb33d463df8afcb102b3efebe75827dbe03.tar.gz rails-95ffacb33d463df8afcb102b3efebe75827dbe03.tar.bz2 rails-95ffacb33d463df8afcb102b3efebe75827dbe03.zip |
Made InsertManager#insert chainable
Diffstat (limited to 'lib')
-rw-r--r-- | lib/arel/insert_manager.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/arel/insert_manager.rb b/lib/arel/insert_manager.rb index d0a49842de..f9a598e8b7 100644 --- a/lib/arel/insert_manager.rb +++ b/lib/arel/insert_manager.rb @@ -34,6 +34,7 @@ module Arel end @ast.values = create_values values, @ast.columns end + self end def create_values values, columns |