link_to

NW, here is the solution.

<%= link_to trip.user.username, { :controller => :page, :action =>
:sendmail, :username => trip.user.username }, :popup => true %>

or

<%= link_to trip.user.username, { :controller => :page, :action =>
:sendmail, :username => trip.user.username }, :popup => ['Contact User',
'height=600,width=800'] %>