Update Ruby and Rails snippets