JC: added @item to action create when data error. Added state_machine_logx to gemfile. Removed gemfile.lock.