Fixing some APIS editor bugs.
Merge branch 'rails-3' of github.com:sosol/sosol into rails-3