RubyFlow The Ruby and Rails community linklog

Rails 3 Remote Links and Forms Part 2: Data-type (with jQuery)

I got a lot of great feedback from my original post, Rails 3 Remote Links and Forms: A Definitive Guide. One question kept coming up: How do we make rails remote links work with js.erb?

I prefer to teach a man to fish, so this new article explains how to make remote links/forms work with any data type we want, by taking a look at how the Rails UJS driver interacts with the Rails Responder class in ActionController. Without further ado:

Rails 3 Remote Links and Forms Part 2: Data-type (with jQuery).

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in