  def create_profile_sheet
    Log.add_info(request, params.inspect)

    return unless request.post?

    user_id = params[:id]
    @user = User.find(user_id)

    @item = @user.create_profile_sheet

    @user.update_attribute(:item_id, @item.id)

    render(:partial => 'ajax_profile_sheet', :layout => false)
  end
The software constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component.