How do you return 503 Service Unavailable in Rails for the entire application?
Also, how do you do the same for specific controllers?
You can use head
head
head 503 # or head :service_unavailable