Better Ruby helper

A helper that lets you attach. It's also more flexible about where to attach/append the app.

I thought I had pull-request'd it before, but I cannot find that. I'm also very sure I wrote documentation for it, but I cannot find that either!

Anyway, here it is.