title: Rails query for join table with not equal to data
body: <p>I have the following query with join table that works great:</p>
  
  <pre><code>@eventsmy = Event.find( 
  :all, 
  :joins =&gt; :rsvps, :conditions =&gt; {:rsvps =&gt; { :user_id =&gt; current_user.id }})
  </code></pre>
  
  <p>And I would also like to have another query that does the exact opposite. i.e., find all events row that are not rsvped by the current_user. I'm getting an error for the following:</p>
  
  <pre><code>@eventsother = Event.find(
  :all, 
  :joins =&gt; :rsvps, :conditions =&gt; {:rsvps =&gt; :conditions =&gt; {["user_id != ?", current_user.id]} })
  </code></pre>
  
  <p>This also gives error:</p>
  
  <pre><code>@eventsother = Event.find(
  :all, 
  :joins =&gt; :rsvps, :conditions =&gt; {:rsvps =&gt; :conditions =&gt; current_user.id! }})
  </code></pre>