title: Updating a value in rails
body: <p>I aam trying to update one value in rails which is in sidekiq worker. But for first time whenever i restart the worker it works but after it doesn't update the value. I tried putting that thing into model also and calling that method from worker itself but same thing happened. </p>
  
  <pre><code>def update_value
     self.update :compressing =&gt; false
  end
  
  name.update_value
  </code></pre>
  
  <p>OR</p>
  
  <pre><code>name.update_attribute(:compressing, 0)
  </code></pre>
  
  <p>OR</p>
  
  <pre><code>name.update_attribute(:compressing, false)
  </code></pre>
  
  <p>nothing seems to work after first time, but no error. Any hint will be really helpful.</p>