1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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]