Sample for Rails3 + canvas