ROR snippets