RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: philipgiuliani
In rails 4.2 you have to use
rescue ClientDisconnected instead of IOError
In rails 4.2 you have to use
rescue ClientDisconnected instead of IOError