title: Unresolved ruby reference in RubyMine
body: <p>Is there any way to avoid the "unresolved ruby reference" warning in RubyMine IDE?
  for example, when some code in my view calls a method of the view helper, I get the "unresolved ruby reference" warning even though the code works.</p>
  
  <p>The case described above is just one of many.
  Another example is when using RSpec:</p>
  
  <pre><code>  it "should require an email" do
      no_email_user = User.new(@attr.merge(:email =&gt; ""))
      no_email_user.should_not be_valid
    end
  </code></pre>
  
  <p>the parameter "be_valid" is not known to the RubyMine IDE.</p>
  
  <p>My question is - is there any way to solve this? should I require additional files? should I do something differently?
  Those false positives regarding unresolved ruby methods/constants are really disturbing, and it also affects the results of the "find usages" action in RubyMine.</p>
  
  <p>I'm using RubyMine 3.1
  I would really appreciate any help in resolving this issue. </p>