aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel')
-rw-r--r--lib/arel/table.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/arel/table.rb b/lib/arel/table.rb
index c381613515..06bbe7b99e 100644
--- a/lib/arel/table.rb
+++ b/lib/arel/table.rb
@@ -88,8 +88,6 @@ module Arel
end
def [] name
- return nil unless @engine.connection.table_exists?(@name)
-
name = name.to_sym
columns.find { |column| column.name == name }
end