diff options
author | Dan Kang <dan@dskang.com> | 2014-02-08 17:40:08 -0800 |
---|---|---|
committer | Dan Kang <dan@dskang.com> | 2014-02-08 23:22:04 -0800 |
commit | 069bc273853c90194606b1725113d77ae39e2edd (patch) | |
tree | ed9e6c7b1f52adc19db3a657f9ed69a21a82b720 /activemodel/test/config.rb | |
parent | cbd10e27d1fa6e07d39dbb6fb42ce3420c5959db (diff) | |
download | rails-069bc273853c90194606b1725113d77ae39e2edd.tar.gz rails-069bc273853c90194606b1725113d77ae39e2edd.tar.bz2 rails-069bc273853c90194606b1725113d77ae39e2edd.zip |
Prevent [response].flatten from recursing infinitely.
Returning `self` from within the array returned by `to_ary`
caused this. Instead, we can just substitute another object.
It provides the `each` behavior required by the rack spec.
Diffstat (limited to 'activemodel/test/config.rb')
0 files changed, 0 insertions, 0 deletions