Forum: Ruby on Rails Handling nested formular data

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
6f3f4fcb842db4b755cd8adc8bca67c6?d=identicon&s=25 ms (Guest)
on 2009-02-24 11:08
(Received via mailing list)
Hi,

it'll be my job to create formulars where the given information can be
strutured. There's not only value1=x, value2=y, value3=z, but also
value1=x, value1_a=y, value1_b=z and so on. I'm asking myself whether
it's good to save those meta informationen in the formular data anyhow
or to have a kind of parser, which structures the information given by
the formular data on the basis of a predefined syntax definition and
validates the incoming data with a state machine, for example. The
problem is, I think, that a formular can easily be manipulated and
thus an extra checking is necessary anyhow.

Thank you for any suggestions!
ms
This topic is locked and can not be replied to.