As I keep trying to dig into Rails 3, I keep running into things that make me learn more than I want to -see "My brain is full!"
Javascript is another one of those languages that I have used a lot, but only understand the basics. Rails 3 implements Unobtrusive Javascript (UJS) using either Prototype or JQuery. I have done quit a bit with Prototype and when I ported a Rails 2 application to Rails 3, a validation.js library I was using stopped working. I think because of a Prototype version upgrade that broke the library. This was one of those generic validation libraries that checked: empty, email, number, etc. The only thing I used was empty - and then I had to modify it to take care of radio and checkbox inputs in a sane manner.
Anyhow I decided to roll my own. My first attempt was to steal parts of rails.js and write kludges to suit my needs. It worked, but I was not sure I liked it (or understood)