question about link_to_remote

Hi,

I got the following problem

this is my code for link_to_remote [<%= link_to_remote("Delete", {:url => members_article_image_url(list_item), :method => :delete, :article_id => @article.id}, :confirm => "are you sure?") %>]

But rails seems to ignore the article_id parameter and doesn't pass it on. from the console: Parameters: {"_method"=>"delete", "action"=>"destroy", "id"=>"21", "controller"=>"members/ article_images"}

Isn't rails supposed to create the parameter or am I doing something wrong?

thanks for your help

Marc

I figured it out sorry about the stupid question. Obviously the :article_id=@article.id gotta go into the :url parameter