You cannot say this because url_for only takes one parameter:
url_for
url_for(@deal, :tab => 'general') # won't work
Just use polymorphic_url instead:
polymorphic_url
polymorphic_url(@deal, :tab => 'general')