Deleting params so overwrite_params doesn't include it

Hi all,
I’m trying to delete params in the controller so that in the view, when
I call overwrite_params it doesn’t include it.

I think I’ve tried pretty much everything. Here is an example of what I
mean:

For url /controller/some_method?bid=4

CONTROLLER:
def some_method
params[:bid]=nil
@params[:bid]=nil
@request.params[:bid]=nil
request.params[:bid]=nil
@request.parameters[:bid]=nil
request.parameters[:bid]=nil
end

VIEW:

<%= link_to :overwrite_params=>{} %>

Doing the above still includes bid in the url. Where am I going wrong on
this? Thanks in advance. Aryk

Try:

<%= link_to :overwrite_params => { :bid => nil } %>

-James

On Jan 8 2007, 4:05 pm, Aryk G. [email protected]