RubySpec: Monkeypatch with Confidence

While the tagline of RubySpec is actually “The Standard You Trust” it might as well be “Monkeypatch with Confidence”.

Here’s the backstory:

Building TorqueBox, I ultimately wanted to be able to run a Ruby application from within a simple zip bundle of the app.  And handling everything that expects to be living in a relatively-addressable filesystem.  Not [...]

SWFUpload, Rails, REST, and Sessions

To test TorqueBox, I’m always building little applications.

My latest little application involved uploading a user avatar image, which my app, using Paperclip, would shuffle to Amazon S3.

Form uploads are cool, but AJAXy Flash uploads are cooler.  So I grabbed SWFUpload from the conveniently-named sfwupload.org.

Integrating it into my application was a slight challenge, alas.

My User model [...]