title: Correct use if != nil || != "" ROR
body: <p>Redirect to city_path if @city.name not equal nil and "" </p>
  
  <p>If @city.name equal "" also redirect to city_path. 
  How to fix it?</p>
  
  <pre><code>if (@city.name != nil || @city.name != "")
        redirect_to city_path
        else
        render 'index'
      end
  </code></pre>