I was just about a month ago trying to figure out if Rails and HTTP/2 could work together; and it seems this is about the only answer out there currently (or did I miss one?)
Writeup: http://eileencodes.com/posts/http2-early-hints/ PR: https://github.com/puma/puma/pull/1403
EDIT: e.g. bottom of https://www.speedshop.co/2016/01/07/what-http2-means-for-rub...
Sometimes best practice for HTTP/1 becomes anti-pattern for HTTP/2. Some of these issues are discussed here: https://www.codeotaku.com/journal/2018-10/http-2-for-ruby-we...