JC: added @erb_code to controller.  added wf_event to model and wf validate. Added spec for failed wf validate. spec passes.