diff options
author | Jordan Sexton <jordan@jordansexton.com> | 2014-05-06 15:38:26 -0500 |
---|---|---|
committer | Jordan Sexton <jordan@jordansexton.com> | 2014-05-17 16:22:26 -0500 |
commit | acdd8e4f08e230926a7174903cf905e8a415a1d4 (patch) | |
tree | 9a7ae2d7ce6e1517a8b71522c9a3a5d1c08752e1 /lib | |
parent | a8f4a49e374672209f7716b528d7a30d1c327768 (diff) | |
download | rails-acdd8e4f08e230926a7174903cf905e8a415a1d4.tar.gz rails-acdd8e4f08e230926a7174903cf905e8a415a1d4.tar.bz2 rails-acdd8e4f08e230926a7174903cf905e8a415a1d4.zip |
Return self from #distinct so it's chainable
Diffstat (limited to 'lib')
-rw-r--r-- | lib/arel/select_manager.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/arel/select_manager.rb b/lib/arel/select_manager.rb index fe0d26a16e..7ec9fdba79 100644 --- a/lib/arel/select_manager.rb +++ b/lib/arel/select_manager.rb @@ -151,6 +151,7 @@ module Arel else @ctx.set_quantifier = nil end + self end def order *expr |