2009-07-01から1ヶ月間の記事一覧
I've done more work with HTTP cookies than I care to admit. My naive assumption when beginning this adventure was that it would suffice to study the relevant RFCs (RFC 2109 and RFC 2965) and implement software compliant to them. It turns o…
Suppose a controller transmits a file using send_file, and you would like an integration or functional test to test it by verifying the contents of the file. You cannot directly access the value of response.body, since it is an instance of…