changing IO handling in #consume! so that we no longer call request.body.read but .string. there have been some issues where read would return no document although input was returned with #string. while most users of #consume! won't have any changes, unicorn users might have to change there controller code to contain
changing IO handling in #consume! so that we no longer call request.body.read but .string. there have been some issues where read would return no document although input was returned with #string.
while most users of #consume! won't have any changes, unicorn users might have to change there controller code to contain

class CompaniesController < ..
  def incoming_string
    request.body.read
  end

since otherwise they might get problems as unicorn's IO model doesn't support #string. see https://github.com/apotonick/roar-rails/issues/18

apotonick/roar-rails