title: helper method returning true when it should return false
body: <p>In my application, 'Users' has_many 'Jobs', through 'applications' </p>
  
  <p>I'm trying to create a helper method has_job(@user, @job). Where, it will return true if the user has already associated itself to a particular job. </p>
  
  <p>When I'm doing this though, if I apply to 1 job, then it returns true for all other jobs. </p>
  
  <p>Why is this happening? </p>
  
  <p>This is what my helper method looks like -> </p>
  
  <pre><code>  def has_job(user,current_job)
      if user.applications.any?
        user.applications.each do |application|
          return true if application.job_id = current_job.id 
        end
      end
      false
    end  
  </code></pre>