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}")
%>;</script>

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?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to