Project
Ruby
Priority
Major
Type
Bug
Fix versions
RubyMine 2.0 Beta 2
State
Fixed
Assignee
Anna Bulenkova
Subsystem
Rails. Code Insight
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Anna Bulenkova
    2 years ago (17 Feb 2009 10:55)
  • Updated by   Vadim Gurov
    8 months ago (18 May 2011 18:17)
  • Jira: RUBY-2952
    (history, comments)
 
RUBY-2952 Dynamic finder call for associated migration with defined :class_name can't be resolved
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
class Page < ActiveRecord::Base
    has_many :parts, :class_name => 'PagePart', :order => 'id', :dependent => :destroy
#...
   parts.find_by_name  #<----here
end


"parts" is resolved to "has_many" call
"find_by_name" handled as unresolved reference
Comments (0)
 
History
 
Linked Issues (?)
 
Issue has no comments