This was a link_to_remote in rails 2. Now i changed it to link_to with
remote=>true
But it still does not work
I have added this in my gemfile and done bundle install
gem 'prototype_legacy_helper', '0.0.0', :git =>
'git://github.com/rails/prototype_legacy_helper.git'
<%= link_to( "replace" ,:update => 'doc_' + doc.id.to_s, :url => {
:action => :replace , :id => @docset, :old_id => doc.id, :new_id =>
new_doc.id },:remote=>true) %>
--
Posted via http://www.ruby-forum.com/.
--
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 https://groups.google.com/groups/opt_out.