Finish rails admin and fix errors.