remote_function

we are upgrading out application to rails 3 and we have decided to
keep prototype for now and we are using alot of helpers one of them is
remote_function here is an example call to this in our app.

link_to_remote("/users/#{@user.id}/
recent_news", :method=>:get, :update=>"user_recent_news_#{@user.id}")
%>

this produces this error
wrong number of arguments (2 for 1)

what needs to change?

This is not the correct place for this question.

Ben: try to be a little more descriptive.

gerberdata: Please ask this on the rubyonrails-talk mailing list, as this list is reserved for issues pertaining to the core of Rails itself, and not your application.