Displaying 2 results from an estimated 2 matches for "calculate_result".
2012 Jun 23
2
Application logic
...I think I need 2 models: users (has_many assesments) and assesments
(belongs_to users). I''m not sure about the controllers though. Should
I put all logic in a user and assesment controller or is it useful or
better to put logic in seperate controllers (show_own_results,
show_all_results, calculate_result, etc) or make a seperate controller
called results and put my methods in there?
Sorry if this is a stupid question, I''ve just started to learn and
have been breaking my head on this for days. I''ve changed my mind so
many times about what I should do best but I don''t seem...
2006 Jan 03
18
Trying to do a simple thing ...
Hi !
I was talking to a seasider and he asked me if it was easy to do the following
thing using rails :
1) ask a number to the user
2) ask a second number
3) give the addition of the two number and a link to be able to replay
All these things have to be done in one controller and one action, there is no
need for verification and other stuff.
I tried but I''ve got some problems