diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2015-09-20 14:15:27 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2015-09-20 14:46:35 +0900 |
commit | e29f02e1bd4d424f7b0294958251aa49e88d688e (patch) | |
tree | 14a00fda0cb1f947550c80f7120cc5694a2c0a96 /activesupport/test/number_helper_test.rb | |
parent | 26aa1b58b0e9451d15a0ee32da3c004d44e5a356 (diff) | |
download | rails-e29f02e1bd4d424f7b0294958251aa49e88d688e.tar.gz rails-e29f02e1bd4d424f7b0294958251aa49e88d688e.tar.bz2 rails-e29f02e1bd4d424f7b0294958251aa49e88d688e.zip |
Refactor `table_exists?` in AbstractMysqlAdapter
`table_exists?` calls `tables` twice when passed `'dbname.tblname'` arg.
This change is that `table_exists?` execute only once query always and
extra args of `tables` is removed.
Diffstat (limited to 'activesupport/test/number_helper_test.rb')
0 files changed, 0 insertions, 0 deletions