mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Fix pull request #3609
This commit is contained in:
@@ -127,7 +127,7 @@ module ActiveRecord
|
||||
|
||||
with_connection do |conn|
|
||||
conn.tables.each { |table| @tables[table] = true }
|
||||
@tables[name] = !@tables.key?(name) && conn.table_exists?(name)
|
||||
@tables[name] = conn.table_exists?(name) if !@tables.key?(name)
|
||||
end
|
||||
|
||||
@tables[name]
|
||||
|
||||
Reference in New Issue
Block a user