title: Using not equal operator in Cakephp
body: <p>I have find query that looks like this.</p>
  
  <pre><code>$this-&gt;paginate('Article', array('Article.status !=' =&gt; 'Inactive', 'Article.user_id !=' =&gt; $blocked_ids, 'Article.tags LIKE' =&gt; "%" . trim($this-&gt;params['url']['tag']) . "%"))
  </code></pre>
  
  <p>where $blocked_ids is an array of ids. It throws an error </p>
  
  <pre><code>SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= ('170')
  </code></pre>
  
  <p>When I removed <code>!=</code> it works fine. No Errors</p>
  
  <p>I appreciate any help.</p>