Ruby on Rails: Snippets