Reading Rails - HTTP DELETEs With a Link
Links are normally always performed as HTTP GETs, but with a little magic Rails lets you do DELETEs, POSTs, PUTs, etc. We’re going read some source code and see how Rails, Rail-UJS, and Rack all work in concert to provide this functionality. Even if you don’t give a damn, I’ll bet you’ll learn something neat.
Post a comment