class ActionDispatch::Request

def content_length

Returns the content length of the request as an integer.
def content_length
  super.to_i
end