for Rails 3.0.7, need to specify HTTP PUT method in a slightly different manner