Move query for PortalsController#show to Portal model

Change find_by_sql to use ARel