Based on https://news.ycombinator.com/item?id=8098317 (HTML minifier revisited) and specifically: https://news.ycombinator.com/item?id=8099192 -- is there a way to make Rails render partials on the same line in the DOM? I'd like to combine this with a Rake task that copies views to a temp folder, minifies them, and serves them instead of the real views. That way I don't have to minify HTML with regexes on each page load. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscribe@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at http://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/d/optout.