Got API working mostly (image upload tests still not working, some problem with character encoding with the file I'm attaching).
Restored error handling in forms -- the "hack" Nathan disabled was actually a perfectly legitimate customization of rails.  I just updated it to work with html_safe.