Skip to content

Commit

Permalink
Merge pull request rails#3622 from noefroidevaux/issue_3595
Browse files Browse the repository at this point in the history
Fix pull request rails#3609
  • Loading branch information
wycats committed Nov 13, 2011
2 parents d37e169 + bf6efa8 commit 2ec8d52
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def table_exists?(name)

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]
Expand Down

0 comments on commit 2ec8d52

Please sign in to comment.