We dont need to merge in the parameters as thats all being reset by the rack headers (and its causing problems for Strong Parameters attempt of wrapping request.parameters because it will change in testing)

This commit is contained in:
David Heinemeier Hansson 2012-03-20 22:16:44 +01:00
parent bdf7624a59
commit b49a7ddce1
1 changed files with 0 additions and 1 deletions

View File

@ -479,7 +479,6 @@ module ActionController
@request.session["flash"].sweep @request.session["flash"].sweep
@controller.request = @request @controller.request = @request
@controller.params.merge!(parameters)
build_request_uri(action, parameters) build_request_uri(action, parameters)
@controller.class.class_eval { include Testing } @controller.class.class_eval { include Testing }
@controller.recycle! @controller.recycle!