myowin76
7/22/2013 - 3:56 PM

rails3 list the active record tables

rails3 list the active record tables

// controller
@tables = ActiveRecord::Base.connection.tables.sort