From 4d427fee5ee048041823000c55a195e4925fe534 Mon Sep 17 00:00:00 2001 From: Topher Date: Sun, 15 Aug 2010 09:46:40 -0700 Subject: [PATCH] removed forgery --- app/controllers/application_controller.rb | 2 +- log/development.log | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 6635a3f..10d3fe5 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -3,7 +3,7 @@ class ApplicationController < ActionController::Base helper :all # include all helpers, all the time - protect_from_forgery # See ActionController::RequestForgeryProtection for details + # protect_from_forgery # See ActionController::RequestForgeryProtection for details # Scrub sensitive parameters from your log # filter_parameter_logging :password diff --git a/log/development.log b/log/development.log index 7e41372..139cdac 100644 --- a/log/development.log +++ b/log/development.log @@ -173,3 +173,16 @@ ActionController::RoutingError (No route matches "/repository" with {:method=>:p Rendering rescues/layout (not_found) + SQL (0.1ms) SET NAMES 'utf8' + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + + +Processing RepositoriesController#create (for 127.0.0.1 at 2010-08-15 09:31:59) [POST] + Parameters: {"payload"=>"{\"pusher\":{\"email\":\"chris@matthieu.us\",\"name\":\"chrismatthieu\"},\"after\":\"51d9413a32e83217302082f35e3e9fe2bb0e3890\",\"repository\":{\"has_downloads\":true,\"description\":\"Adhearsion component library\",\"pushed_at\":\"2010/08/15 09:31:57 -0700\",\"has_wiki\":true,\"fork\":false,\"forks\":0,\"open_issues\":0,\"private\":false,\"watchers\":1,\"url\":\"http://github.com/chrismatthieu/ahnhub\",\"has_issues\":true,\"owner\":{\"email\":\"chris@matthieu.us\",\"name\":\"chrismatthieu\"},\"name\":\"ahnhub\",\"created_at\":\"2010/08/14 11:54:20 -0700\",\"homepage\":\"http://ahnhub.com\"},\"forced\":false,\"ref\":\"refs/heads/master\",\"commits\":[{\"message\":\"added repos and commits5\",\"removed\":[],\"url\":\"http://github.com/chrismatthieu/ahnhub/commit/51d9413a32e83217302082f35e3e9fe2bb0e3890\",\"modified\":[\"app/controllers/repositories_controller.rb\",\"log/development.log\"],\"timestamp\":\"2010-08-15T09:31:50-07:00\",\"added\":[],\"id\":\"51d9413a32e83217302082f35e3e9fe2bb0e3890\",\"author\":{\"email\":\"topher@topher.local\",\"name\":\"Topher\"}}],\"compare\":\"http://github.com/chrismatthieu/ahnhub/compare/470953a...51d9413\",\"before\":\"470953a52f032df605602aa3f452fbce90b184f5\"}"} + +ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken): + + +Rendered rescues/_trace (102.8ms) +Rendered rescues/_request_and_response (1.4ms) +Rendering rescues/layout (unprocessable_entity)