rails/rails — pull request #11357 by Alamoz (2013-07-08 06:13:04+00:00)
Title: Fix request raw_post_body.rewind in actionpack-4.0.0/lib/action_dispatch/http/request.rb

Current code is calling rewind after assigning raw_post data to return value, then rewinding the data body, so the rewinded data is not getting returned. This fix rewinds the data body before assigning it to the variable that is returned.