Adding rails best practices