Adam Lassek wrote:
> The name attribute of form fields created in the following format:
>
> person[address][street_address]
>
> is parsed into a nested hash that looks like:
>
> { :person => { :address => { :street_address => "" } } }
>
> That's a microformat.
Not by any definition of that term that I'm familiar with. It's just a
hash. :)
(For reference, the term "microformat" has only one meaning -- see
http://en.wikipedia.org/wiki/Microformat -- and that wasn't it. Using
standard terminology helps to reduce misunderstandings.)
Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen@marnen.org
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment