Project
Ruby
Priority
Major
Type
Bug
Fix versions
RubyMine 1.1.1
State
Fixed
Assignee
Unassigned
Subsystem
Code Insight
Affected versions
No Affected versions
Fixed in build
108.101  
  • Created by   Roman Chernyatchik
    2 years ago (04 Apr 2009 18:48)
  • Updated by   Roman Chernyatchik
    2 years ago (08 Jun 2009 15:00)
  • Jira: RUBY-3572
    (history, comments)
 
RUBY-3572 Rails: Type inference fault for instance variables and each iterator
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
I have rails application with model Person which has DB field age:integer
In code
 
   Person.find(:all).each do |p|
      p.a<caret>;
    end

completion works fine, but in code
    @people = Person.find(:all)
    @people.each do |p|
      p.a<caret>
    end

"age" insn't in completion list and although "each" method can be completed @people Unresolved reference inspection highlight it as unkown.

Environment: RubyMine #820

Issue was closed
Comments (0)
 
History
 
Linked Issues (?)
 
Issue has no comments