title: MySQL syntax in Rails 3, NOT Case sensitive searching, not working on Heroku?
body: <p>I've been following the Railscast for adding searching, sorting, and pagination to my app. I've modified my search logic in the model to search to columns (description and title). This seems to be working. I've also changed it to search non case sensitive. This seems to work perfect in my local app, but when I push it to heroku, I can only search by lowercase. Search with any capital letters at all produces no results, even if the case matches the results.</p>
  
  <p>here is the code in my model:</p>
  
  <pre><code>  def self.search(search)
      if search
        where('LOWER (description) LIKE ? OR LOWER (title) LIKE ?', "%#{search}%" , "%#{search}%")
      else
        scoped
      end
    end
  </code></pre>