Use layout template in Rabl.
Removed JRuby support.