diff options
Diffstat (limited to 'lib/arel/algebra/relations/utilities/externalization.rb')
-rw-r--r-- | lib/arel/algebra/relations/utilities/externalization.rb | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/lib/arel/algebra/relations/utilities/externalization.rb b/lib/arel/algebra/relations/utilities/externalization.rb deleted file mode 100644 index 8e97573f68..0000000000 --- a/lib/arel/algebra/relations/utilities/externalization.rb +++ /dev/null @@ -1,26 +0,0 @@ -module Arel - class Externalization < Compound - include Recursion::BaseCase - - def == other - super || Externalization === other && relation == other.relation - end - - def wheres - [] - end - - def attributes - @attributes ||= Header.new(relation.attributes.map { |a| a.to_attribute(self) }) - end - - def table_sql(formatter = Sql::TableReference.new(relation)) - formatter.select relation.compiler.select_sql, self - end - - # REMOVEME - def name - relation.name + '_external' - end - end -end |