issues
search
BetterErrors
/
better_errors
Better error page for Rack apps
MIT License
6.88k
stars
437
forks
source link
Fix NoMethodError when calling rewind on rack.input with Rack 3
#528
Open
purintai
opened
8 months ago
purintai
commented
8 months ago
Rack::Input is no longer required to be rewindable in Rack 3
https://github.com/rack/rack/blob/dff6cfd249832d32ab190e6d20605bce0d6c702d/UPGRADE-GUIDE.md#rackinput-is-no-longer-required-to-be-rewindable
When using better_errors with Rack 3,
NoMethodError
is raised due to trying rewind on rack.input
It should be checked
#rewind
is implemented before calling.
NoMethodError
is raised due to trying rewind on rack.input#rewind
is implemented before calling.