>You can store it in a session variable to keep track across requests
>session[:hole_number] = hole_number

Thanks. I'm sure I'll find a way to mess that up.


Marnen Laibow-Koser wrote:
> That's a *very bad* user interface.  The app should not force entry of 
> holes in a particular order.  Why not just provide a form for all 18 
> holes?

I disagree, you start on the 1st and finish on the 18th so you should 
enter them in a particular order. Entering my data after I finish each 
hole is more natural.

The best way is probably just to write everything down while I am 
playing and then put it all in a spreadsheet, but then I wouldn't learn 
anything about programming.
-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to