# Item\_class special?

**URL:** <https://www.ruby-forum.com/t/item-class-special/87104>\
**Category:** Rails\
**Created:** [February 28, 2007, 8:12am UTC](https://www.ruby-forum.com/t/item-class-special/87104 "2007-02-28T08:12:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yottameter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/df705f/32.png) [@yottameter](https://www.ruby-forum.com/u/yottameter)\
**Post date:** [February 28, 2007, 8:12am UTC](https://www.ruby-forum.com/t/item-class-special/87104/1 "2007-02-28T08:12:33Z")

</div>

I have a link\_to using an extra option :item\_class. It doesn’t seem to  
work. When I change item\_class to anything else, it renders fine. I’m  
on rails 1.2.2.

\<%= link\_to “New”, :action =\> ‘new’, :my\_class=\>‘wibble’ %\>  
=\> /new?my\_class=wibble  
\<%= link\_to “New”, :action =\> ‘new’, :item\_class=\>‘wibble’ %\>  
=\>/new

Any thoughts?
