http://ejohn.org/blog/html-5-data-attributes/

On Sat, Feb 6, 2010 at 12:02 AM, molte <molt...@gmail.com> wrote:
> 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 rubyonrails-c...@googlegroups.com.
> To unsubscribe from this group, send email to 
> rubyonrails-core+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/rubyonrails-core?hl=en.
>
>

-- 
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 rubyonrails-c...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-core+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to