added some ruby and rails snippets