Merge pull request #3622 from noefroidevaux/issue_3595

Fix pull request #3609
This commit is contained in:
Yehuda Katz 2011-11-13 13:38:45 -08:00
commit 2ec8d52b0c
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ module ActiveRecord
with_connection do |conn| with_connection do |conn|
conn.tables.each { |table| @tables[table] = true } 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 end
@tables[name] @tables[name]