JC: added @erb_code to create/update. spec passes.