Adding a class to link_to block
===

I have a following code which displays a 'delete' link:


    <%= link_to :class => 'some_class', :method => :delete, :data => { :confirm => 'Are you sure?' }  do
      <span>Delete</span>
    <% end %>

But for some reason ROR is not adding `some_class` to `a` tag. Have you any idea what can i do to fix it ? Thanks in advance.