Fix pull request #3609

This commit is contained in:
Noé Froidevaux
2011-11-13 11:03:22 +01:00
parent df300a754b
commit bf6efa8d9c

View File

@@ -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]