title: undefined method `stringify_keys' Rails 4
body: <p>I'm getting:</p>
  
  <pre><code>undefined method `stringify_keys' for "DLDTm1X_c-M":String
  </code></pre>
  
  <p>I'm trying to validate uri in the model so that it doesn't accept if it's uri data</p>
  
  <p>Below is from update method in controller:</p>
  
  <pre><code>params[:video][:video_duration] = @yt_session.video_by(@video.yt_youtube_id).duration if Video.new(@video.yt_youtube_id).valid?
  </code></pre>
  
  <p>Below is the validation
        validates :yt_youtube_id, :url => false</p>
  
  <p>I'm using</p>
  
  <pre><code>gem 'activevalidators'
  </code></pre>
  
  <p>For this validation</p>
  
  <p>What could be wrong with the error and how can we fix this?</p>