github.com

File upload solution that supports form roundtrips when a validation fails.

javascriptweblog.wordpress.com

Inspired by a snippet of code in Oliver Steele’s legendary Functional library, here’s a lightweight tool to help...

code.google.com

Simple shell utility to convert html to pdf using the webkit rendering engine, and qt.

lesscss.org

Less.js is a JavaScript implementation of LESS that’s run by your web browser. As any JavaScript, you include a...

github.com

Test spies are a form of test double that preserves the normal four-phase unit

Just assign the existing attachment to another record: new_photo = Photo.new new_photo.image = old_photo.image Paperclip will duplicate the file when saving...

Attached (see below) is some code to allow using unobtrusive JavaScript on pages fetched with an AJAX call.