rails td cell link with instance variables
===

i have this link:

<%= link_to "#{x.name}", { :controller => 'pages', :action =>
'berufsschule', :given_user => x.name} , :class => "btn btn-danger" %>

i want it to be a clickable table cell.. who to do this?

Tanks

basti