This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.
content_length()
Returns the content length of the request as an integer.
# File actionpack/lib/action_controller/request.rb, line 80 def content_length super.to_i end