Project
Ruby
Priority
Normal
Type
Usability Problem
Fix versions
No Fix versions
State
Open
Assignee
Oleg Shpynov
Subsystem
Rails. Code Insight
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Jiri Pisa
    2 years ago (08 Jul 2009 19:58)
  • Updated by   Vadim Gurov
    8 months ago (18 May 2011 18:22)
  • Jira: RUBY-4552
    (history, comments)
 
RUBY-4552 CSS editor is ignoring usage of class attributes in helpers
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
I've this fragment of code in my rails app:
<%= link_to "Log out", logout_path, { :title => "Log out", :class => "bannerlink"} %>
It generates following html code:
<a href="/logout" class="bannerlink" title="Log out">Log out</a>

If I open the css file in the RubyMine with the following fragment of css code:

a.bannerlink {
    text-decoration: none;
    color: #fff;
}

the word bannerlink is with warning 'Unused CSS selector'. But the bannerlink is used .... not in html code, but in the erb file.

Environment: Mac OS 10.5.7
Comments (0)
 
History
 
Linked Issues (?)
 
Issue has no comments