diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-04-08 16:27:33 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-04-08 16:27:33 -0700 |
commit | 8fc2241df61ce274b652fae09e4640a50a500af7 (patch) | |
tree | bac91d5ee8545238deaf2881a7fdaca3a4b6a837 /lib/arel/visitors/join_sql.rb | |
parent | 55c0071ce3685a78b4f039be24b2ab40b8779467 (diff) | |
download | rails-8fc2241df61ce274b652fae09e4640a50a500af7.tar.gz rails-8fc2241df61ce274b652fae09e4640a50a500af7.tar.bz2 rails-8fc2241df61ce274b652fae09e4640a50a500af7.zip |
removing unused join_sql method
Diffstat (limited to 'lib/arel/visitors/join_sql.rb')
-rw-r--r-- | lib/arel/visitors/join_sql.rb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/arel/visitors/join_sql.rb b/lib/arel/visitors/join_sql.rb deleted file mode 100644 index 1cdd7eb5ca..0000000000 --- a/lib/arel/visitors/join_sql.rb +++ /dev/null @@ -1,19 +0,0 @@ -module Arel - module Visitors - ### - # This class produces SQL for JOIN clauses but omits the "single-source" - # part of the Join grammar: - # - # http://www.sqlite.org/syntaxdiagrams.html#join-source - # - # This visitor is used in SelectManager#join_sql and is for backwards - # compatibility with Arel V1.0 - module JoinSql - private - - def visit_Arel_Nodes_SelectCore o - o.source.right.map { |j| visit j }.join ' ' - end - end - end -end |