update rails snippets for use with slim/haml