added how to access postgres remotely and update order heading in action relation and active relation alternative to Model.all (scoped)