> ActiveRecord::Base.connection.tables.map { |t| "#{t} => " + ActiveRecord::Base.connection.execute("select count(*) from #{t}").fetch_row.first}
This actually uses method ActiveRecord::ConnectionHandling.connection
> ActiveRecord::Migration.add_column
You need to konw the Model name, and access (both read and write) here.
> JxRailsMd::Aa::Account.all
##Refs