Changed eruby and rails snippets