John Hawthorn
John Hawthorn

John works on Action View as part of the Rails Committers team and the Ruby Architecture Team at GitHub. He’s based in Victoria, Canada.

Parsing and Rewriting ERB

ERB templates are compiled into Ruby, and we have parsers for Ruby. We can use this to determine their hierarchy, eager load them, make them faster, or even replace some of Ruby's fundamentals.