Example showing how to set cookie in Ruby on Rails controller