aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/engines/sql/relations/utilities/nil.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel/engines/sql/relations/utilities/nil.rb')
-rw-r--r--lib/arel/engines/sql/relations/utilities/nil.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/arel/engines/sql/relations/utilities/nil.rb b/lib/arel/engines/sql/relations/utilities/nil.rb
new file mode 100644
index 0000000000..77534b25ad
--- /dev/null
+++ b/lib/arel/engines/sql/relations/utilities/nil.rb
@@ -0,0 +1,6 @@
+module Arel
+ class Nil < Relation
+ def table_sql(formatter = nil); '' end
+ def name; '' end
+ end
+end \ No newline at end of file