According to the Rails 3.0 release notes at 
http://guides.rails.info/3_0_release_notes.html
the ActionView form helper with the :remote option set to true will
add a "data-remote" attribute to the HTML tag. It think it is good
that the old-style inline JavaScript has been removed, however, I do
see some problems with the new approch:

1.  It's not vaild HTML.
2.  It doesn't follow the HTML attribute convention. There should be
no hyphen in the attribute name, and the value should repeat the name
instead of "true". It should look something like this:
'remote="remote"' (or the short form 'remote' in SGML-based HTML).

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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 this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to