JC: added @erb_code to controller. update db for mfg_batchx. spec passes.