Search the web
Sign In
New User? Sign Up
RubyOnRails · Ruby on Rails
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Process pages values before the hit the model   Message List  
Reply | Forward Message #29 of 107 |
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









Sun Jun 18, 2006 11:08 pm

richardchaven
Online Now Online Now
Send Email Send Email

Forward
Message #29 of 107 |
Expand Messages Author Sort by Date

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...
Richard C Haven
richardchaven
Online Now Send Email
Jun 19, 2006
2:29 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help