Added rails snippets
updated gitignore