8 Nov 21:55
Re: extract fixtures from database?
On Nov 8, 2005, at 12:37 PM, Peter Michaux wrote: > On 11/8/05, Jeremy Kemper <jeremy@...> wrote: > Oops! That's a method I defined. For PostgreSQL: > > table_names = > > Know any way to do this same thing for mysql? MySQL: ActiveRecord::Base.connection.select_values('show tables') SQLite: ActiveRecord::Base.connection.select_values('.table') jeremy
RSS Feed