Project
Ruby
Priority
Major
Type
Bug
Fix versions
No Fix versions
State
Obsolete
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 (16 Feb 2009 22:55)
  • Updated by   Oleg Shpynov
    8 months ago (08 Jun 2011 21:20)
  • Jira: RUBY-2950
    (history, comments)
 
RUBY-2950 "Find usages" for instance variables in a view returns incorrect results
1
Issue is visible to: All Users
  The issue is visible to the selected user group only
1. admin/edit.rhtml
<% form_tag :action => 'update', :id => @pro<CARET>duct do %>

2. Alt+F7 - Search N1
3. admin_controller.rb
 def edit
    @prod<CARET>uct = Product.find(params[:id])
 end

4. Alt+F7 - Search N2
5. store_controller.rb
def add_to_cart
    product = Product.find(params[:id])  
end


To search attempts return different results.
First search returns usage of local variable "product" described in step 5
Comments (0)
 
History
 
Linked Issues (?)
 
Issue has no comments