Problem: link_to_remote with :method => :delete in Safari

I have just come up against a really frustrating issue with link_to_remote in Safari. What makes it more frustrating is the Rails dev site being down making it impossible to submit a ticket. When setting :method => :delete on the link_to_remote helper, Safari sends a GET request rather than a DELETE. Firefox is fine with […]

Handy Subversion Rake task

Just read a post from “David”:http://david.planetargon.us at “Planet Argon”:http://planetargon.us/ showing a way to “add un-added files”:http://david.planetargon.us/articles/2006/07/28/i-love-shell-scripting in your Subversion working copy. I have made this into a simple rake task: namespace :svn do desc “Adds all files with an svn status flag of ‘?'” task(:add_new) { `svn status | awk ‘/\\?/ {print $2}’ | xargs […]

Simply RESTful… "The missing action"

UPDATE 15/03/10: The debate continues… The ideas in this article came about whilst I was test-driving the Simply RESTful plugin following DHH’s RailsConf keynote on the subject. The philosophy The first thing I came across whilst experimenting with Simply RESTful (which is great by the way), was that there is no real way of deleting […]

Finally running on the latest Typo (4.0)

I’ve been putting off upgrading Typo for a while now (due to lack of time). This blog is now running on -3.99.4- 4.0 (missed the update by 2 hours!). I have added a temporary fix to “TheLucid Typo theme”:/typo_themes/lucid.zip however keep a lookout for the new version coming soon as promised. Please reply to this […]

Code beauty vs. Obsession

h3. When does the search for beautiful code become an obsession? Rightly so, “David Heinemeier Hansson”:http://www.loudthinking.com/arc/000419.html constantly pushes for beautiful code, however this in now becoming an obsession for me and I may soon need professional help… You know things are getting bad when you do something similar to the following: thing = { :store_dir […]