[Rails] Re: Keeping a running count of user input

2010-02-02 Thread Dan Ci
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

[Rails] Re: Keeping a running count of user input

2010-02-02 Thread Dan Ci
Sharagoz -- wrote: You can store it in a session variable to keep track across requests session[:hole_number] = hole_number For the future reference of noobs like myself, this is how I did it. (For Agile Web Development with Rails readers, it's much easier than their Cart session would have

[Rails] Keeping a running count of user input

2010-02-01 Thread Dan Ci
(Start disclaimer) New to ruby, new to rails, haven't programmed since high school. (End disclaimer) I am working on a personal project which I can use to track my golf scores and progress but am having difficult keeping a running count of the amount of holes played. The app should work like