title: Rails and Heroku PGError: column does not exist
body: <p>This page I have been developing for my app has been working fine locally (using sqllite3) but when I push it to Heroku, which uses PostgreSQL I get this error:</p>
  
  <blockquote>
    <p>NeighborhoodsController# (ActionView::Template::Error) "PGError: ERROR: column \"isupforconsideration\" does not exist\nLINE 1: ... \"photos\" WHERE (neighborhood = 52 AND isUpForCon...\n</p>
  </blockquote>
  
  <p>From this line of code:</p>
  
  <pre><code>@photos = Photo.where(["neighborhood = ? AND isUpForConsideration = ?", @neighborhood.id, 1])
  </code></pre>
  
  <p>isUpForConsideration is defiantly part of the Photo column. All my migrations are up to date, and when I pull the db back locally isUpForConsideration is still there, and the app still works locally. </p>
  
  <p>I've also tried:</p>
  
  <pre><code>@photos = @neighborhood.photos(:conditions =&gt; {:isUpForConsideration =&gt; 1})
  </code></pre>
  
  <p>and</p>
  
  <pre><code>@photos = @neighborhood.photos.where(["isUpForConsideration = 1"])
  </code></pre>
  
  <p>Which gives me this error:</p>
  
  <blockquote>
    <p>NeighborhoodsController# (ActionView::Template::Error) "PGError: ERROR: column \"isupforconsideration\" does not exist\nLINE 1: ...tos\" WHERE (\"photos\".neighborhood = 52) AND (isUpForCon...\n</p>
  </blockquote>
  
  <p>Any idea what I could be doing wrong?</p>