title: Display a string inplace of a nil, datetime field
body: <p>I am trying to change the value of a cell if the value of the datetime field is nil</p>
  
  <p>but it keeps changing the value to Todays date</p>
  
  <pre><code>            -elsif k=='pickup' || k=='delivery' || k=='Posted On'
                - if v.nil?
                  = "Unknown"
                - else
                  = v.strftime("%D")
  
  
  Load.find(load_id).delivery.nil? 
  =&gt; true
  Load.find(load_id)
  =&gt; #&lt;Load id: 904237, length: 53, delivery: nil, pickup: "2014-09-09 17:00:00", weight: nil, equipment_id: 26, covered: false, created_at: "2014-08-18 13:21:25", updated_at: "2014-11-24 21:55:03"&gt; 
  </code></pre>
  
  <p><strong>Actually i have narrowed it down further Guess it is not in my view...</strong></p>
  
  <p>but actually when i pull it from the database in my controller... it is setting the @load with the default value for delivery</p>
  
  <p>show controller:</p>
  
  <pre><code>   def show
      if params[:load]
        params[:load].delete(:type)
        params[:load][:origin] = Location.to_point(params[:load][:origin])
        params[:load][:dest] = Location.to_point(params[:load][:dest])
        @load = Load.new(params[:load])
        @load.updated_at = Time.now
        flash.keep[:notice] = 'Please be aware that it could take up to 5 minutes for your load to appear in search results.'
      else
        @load = Load.find(params[:id])
        current_location(@load)
        @return_hotloads = Hotload.return_hotloads(@load)
        @return_loads = Load.return_loads(@load)
      end
      authorize! :show, @load
    end
  </code></pre>
  
  <p>delivery should be nil</p>
  
  <pre><code>@load 
  =&gt;      
  #&lt;Load id: 904237, user_id: 10640, delivery: "2015-02-13 21:48:21", pickup: "2014-09-09 17:00:00", weight: nil, tracking: nil&gt;
  </code></pre>
  
  <p>but if i do this in the view it shows blank like i want:</p>
  
  <pre><code>            -elsif k=='delivery'
                - l = Load.find(@load.id).delivery
                - if l
                  = l.strftime("%D")
  </code></pre>
  
  <p>witch is really strange....</p>
  
  <p><img src="https://i.stack.imgur.com/ABYHn.png" alt="enter image description here"></p>