blog.thecodewhisperer.com

While injecting the dependency appeared to make the classes more tightly coupled, it simply revealed the coupling that already existed...

github.com

Run your Jasmine specs without a browser

github.com

The Holy Grail of testing for front-end development; execute browser-less, console-based, javascript + DOM code right from within...

github.com

Johnson wraps JavaScript in a loving Ruby embrace. It embeds the Mozilla SpiderMonkey JavaScript runtime as a C extension.

jquerymobile.com

The jQuery project is really excited to announce the work that we’ve been doing to bring jQuery to mobile...

rubyspec.org

RubySpec is a project to write a complete, executable specification for the Ruby programming language.

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...

This is more tricky than it should be because url_for, asset_path, etc. all rely on different mechanisms.

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