Hi. Is it possible to retrieve list of tables from database? I know about "show tables" (mysql) but I wanna keep application code independent from database server. I can''t find anything in rails activerecord docs... maybe someone know how? Maybe some plugins exists? Thx.
On Fri, 2006-06-30 at 08:27 -0500, zven wrote: Found solution: ActiveRecord::Base.connection.tables> Hi. > Is it possible to retrieve list of tables from database? I know about > "show tables" (mysql) but I wanna keep application code independent from > database server. I can''t find anything in rails activerecord docs... > maybe someone know how? Maybe some plugins exists? > > Thx. >