Rails 3, Ruby 1.9 oriented snippets