Fixes to eruby snippets by jinzhu.