title: Best way to use activerecord to look for ID number in JSON encoded string
body: <p>I am storing JSON strings of ID numbers in my database for some website settings. I need create an active record query to look for an ID number in this string. What's the best way to do this?</p>
  
  <p>Example of stored string:</p>
  
  <pre><code>["25","26","27","28","29"]
  </code></pre>
  
  <p>I was thinking perhaps:</p>
  
  <pre><code>$this-&gt;db-&gt;like('settings', '"28"');
  </code></pre>
  
  <p>However, this seems a little improvised...</p>