title: How do I escape reserved word column in postgres using rails?
body: <p>I have an integer column named &quot;length&quot; under a shift_breaks table. Accessing the column through ruby works fine but when trying to query the column using <code>.where</code> won't return me the desired results..</p>
  <p>I've tried various ways to bypass it but can't find a solution that doesn't involve renaming the column. Any help would be very much appreciated.</p>
  <pre><code># Application details
  
  Rails: 5.1.6.2
  Ruby: 2.5.3
  PostgreSQL: 9.6.10
  </code></pre>
  <p><a href="https://i.stack.imgur.com/ZcQfa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZcQfa.png" alt="enter image description here" /></a></p>