after i connect to a mysql database,how can i get the table names in
this db?
mysql> show tables;
but,how can i do this using Rails?
thanks
but,how can i do this using Rails?
ActiveRecord::Base.connection.tables
Will return an array of all the table names.