I'm starting with InstantRails with a background in OOP (Object Pascal,
Java, etc.).
I am creating an application that allows the user to enter multiple
values that will each become a tuple in the database table. Where do I
put the code that examines and manipulates the values entered on the
HTML page ?
I prefer not to put them on the controller action of the "next" page
because I want to use AJAX to support a single-page application.
Perhaps I am thinking of this in the wrong way (e.g. old-style,
event-driven, get the data from the user, process the data to the
database). I don't think I can map even simple
one-screen-of-data-is-more-than-one-tuple, but perhaps I am wrong.
TIA