diff options
Diffstat (limited to 'lib/arel/engines/sql/relations/table.rb')
-rw-r--r-- | lib/arel/engines/sql/relations/table.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/arel/engines/sql/relations/table.rb b/lib/arel/engines/sql/relations/table.rb index 9ad939b896..d9ff95265b 100644 --- a/lib/arel/engines/sql/relations/table.rb +++ b/lib/arel/engines/sql/relations/table.rb @@ -17,6 +17,7 @@ module Arel def initialize(name, options = {}) @name = name.to_s @table_exists = nil + @table_alias = nil if options.is_a?(Hash) @options = options |