adding copy of rails guide for offline work; adding .gitignore