Initial pass at rails 3 app upgrade - mostly working with a few missing refresh issues