The “x_sendfile” argument on the send_file method in Rails 2.1 is not well thought off as it has an impact in development mode also. I guess most Rails coders won’t have Apache proxying their mongrels in dev mode and so they don’t get to see any images or files but the plain path information. I’ll […]
Some days ago, Ruby On Rails 2.1 saw the light of day and as usual, i eagerly updated my Daily Fratze project. I had some minor problems due to an old version of will_paginate and some major ones with my use of PDF::Writer. The PDF::Writer library still works very well but the the instructions here […]
I just discovered the great x_send_file plugin and technique and use it extensivly for daily fratze. I replaced the majority of send_file calls with x_send_file but not all (the in memory thingies i serve cannot be send through apache). This works great in production mode but in development mode, it fails as there is no […]
In my Daily Fratze project the users should be able to download their faces as a zip file backup. Until now they have been able to upload zip files. For that, i used rubyzip which worked quite well. As a starting point i found a nice article on the joy of rubyzip, but this has […]
The best software has a vision. The best software takes sides. Make Opinionated Software There’s been a lot of discussion around David Heinemeier Hanssons principle of “opinionated software”. Some people say that “to David, a piece of opinionated software is written in such a way that makes it easy to do things one way and […]