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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.