Project
Ruby
Priority
Critical
Type
Bug
Fix versions
RubyMine 1.1.1
State
Fixed
Assignee
Unassigned
Subsystem
Inspections
Affected versions
No Affected versions
Fixed in build
108.101  
  • Created by   Anna Bulenkova
    2 years ago (23 Jun 2009 20:17)
  • Updated by   Vadim Gurov
    8 months ago (18 May 2011 18:22)
  • Jira: RUBY-4387
    (history, comments)
 
RUBY-4387 Ruby inspections don't work for Ruby includes in .html.erb files
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
1. Code sample: index.html.erb
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
<html>
<body>
  <%= image_tag("logo.png" ) %>
  <%= @find_me %> <!-- Unresolved Ruby reference -->
  <%= select %> <!-- Argument mismatch -->
</body>
</html>

2. Ctrl +Shift + I to inspect the code, ensure that all the required inspections are enabled

No suspicious code found

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