Rails 3 remote_function

Hi I am hoping someone can help me with this.

We are upgrading to rails 3 and have decided to stay with prototype.
We are using remote_function like this as an example
<%= remote_function("/users/#{@user.id}/
recent_news", :method=>:get, :update=>“user_recent_news_#{@user.id}”)
%>;

this is returning this error
wrong number of arguments (2 for 1)

any ideas how to fix this? Anyone using prototype still with rails 3
and having this problem?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs