Flowdock
method

to_ary

Importance_1
Ruby on Rails latest stable (v4.2.1) - 0 notes - Class: ActionDispatch::Response
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.