more notes and snippets for ruby on rails