Flowdock
method

to_ary

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: ActionDispatch::Response

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.

These similar methods exist in v6.1.7.7:

to_ary() public

Be super clear that a response object is not an Array. Defining this would make implicit splatting work, but it also makes adding responses as arrays work, and “flattening” responses, cascading to the rack body! Not sensible behavior.

Show source
Register or log in to add new notes.