Im in need of some wisdom. Why would the same app push to one heroku account and run yet send the exact same code to another heroku account and the error is gone and the app works
if one is created with the same name as the model i believe it will use that as default. if you want to use another for a redirect you'd need to expose the redirect to the serializer
hi im having a bit of trouble understanding a worker in an app. There is this line -- orders = ServiceOrder.where(status: "confirmed", service_time: 10.years.ago..8.hours.from_now) -- i know its createing a var/obj called orders equal to a service order obj where the status is confirmed and the service time is 10 years ago. But that last .8 hours from now does that say from ten years ago IN a hours from now??
then underneath is a loop taking order from orders and asking -- if order.service_time + order.duration.seconds < 8.hours.from_now -- is the sum of the two args less than 8 hours from now perform task
if you have two users say user and say admin. both have an address and a current address. there is a third table that takes the address of the user or admin depending on setting (ie current location or set address) how can i share the table with user if admin says its ok.