KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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. The case described above is just one of many. Another example is when using RSpec: it "should require an email" do no_email_user = User.new(@attr.merge(:email => "")) no_email_user.should_not be_valid end the parameter "be_valid" is not known to the RubyMine IDE. 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. I'm using RubyMine 3.1 I would really appreciate any help in resolving this issue.
Tags (comma-separated)
Save Edits
Cancel