2009-06-01から1ヶ月間の記事一覧
You might try to set the request object's RAW_POST_DATA as you do in a functional test, but this will fail.The following blog explains the solution: http://codemonky.com/post/8241251/integration-test-funBasically, you do something like thi…
This post explains how to use url_for inside of a functional test.http://jotthought.com/articles/2007/05/04/using-url_for-in-ruby-on-rails-tests/EDIT: Unfortunately, doing it this way seems to break url_for in integration tests, which norm…
The command-line tools for apt/dpkg are surprisingly unintuitive, and I could not find any useful yet concise guide, so here is my attempt. (I dare to put Debian in the title, since all documentation indicates that Ubuntu's and Debian's pa…
I didn't realize that when clicking through a Google search to this blog, the items from the search query appear highlighted whenever they appear on the page. This is extremely annoying for common words like "on" and has little benefit eve…
I have long wanted a way to disable the "Send Link as Mail" item on Firefox's context menu. Never have I meant to use this feature, and whenever I do accidentally click on it, the computer freezes while some unwanted mail client is launche…
This is pretty frustrating. I'm just jotting these posts down as useful links.http://wooga.drbacchus.com/webdav-windows-and-frustration http://it.knightnet.org.uk/2009/05/how-to-use-webdav-on-windows-vista-and.html
There are (as usual) multiple ways to do this. You can run: lsb_release -aThis will give output such as: No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 8.10 Release: 8.10 Codename: intrepidLinux Standard Base (LSB…