link_to_remote fix, should this be added to edge rails?

Your method is correct, you could however alias link_to_remote to old_link_to_remote and then override the link_to_remote method. This way, all your existing code will benefit from it. Keep in mind that you need to provide seperate normal pages for each action you call via link_to_remote so that it will render if Javascript is disabled.

Best regards

Peter De Berdt