Nama Tabel dari Rails Console

ActiveRecord::Base.connection.tables

ActiveRecord::Base.connection.columns('projects').map(&:name)
TalaatMagdy