Rails 2 to Rails 3 : using link_to instead of link_to_remote (including remote and update)?

The :update option isn't supported by the new link_to :remote => true.

The :update option isn't supported by the new link_to :remote => true. You will either have to use the legacy plugin write the JS/AJAX yourself instead of using :remote => true use render :update { |page| p. Replace_html ... }.

The :update parameter is gone. You need to handle the DOM update yourself using Unobtrusive JavaScript. Also, make sure you actually included the csrf_meta_tag helper in your layout.

I wrote an article about using unobtrusive JavaScript in Rails 3.

Csrf_meta_tag included in main layout. Seems to be the one problem with Ruby, functionality appearing and disappearing almost overnight. I can understand the reason to remove :update but it was a very useful bit of code!

Thanks for your help. – detheridge02 Apr 1 at 10:08 Please note Rails! = Ruby.

– Simone Carletti Apr 1 at 10:09 Yep I meant Rails :-) Can't you tell I'm a PHP coder having to get to grips with Ruby :-) Great article by the way! – detheridge02 Apr 1 at 10:15.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions