I'm working on a patch for the official auto_complete plugin. I
noticed that a lot of the new plugins (e.g. acts_as_tree) are set up
to be testable outside of a rails project. Is this now considered best
practice? If so I'll make that change while I'm working on the plugin.
I think it's preferable if you can assume that the rails gem is
available. Some kind of plugin test helper would indeed be pretty
nice though. Have it check for vendor/rails or a specific GEM version
(or not, if it's an edge-only plugin).