JC: added @resource_id, @resource_string and @category to action create when data error. removed gemfile.lock.