updates to latest security version of Rails 3.2 and applies other fixes as per rails-intro assignment