2009/9/5 Me <[email protected]>:
>
> I am looking to develop a personnel evaluation web form.
>
> This stuff below is repeated 5 times with different job
> responsibilities and outcomes ina kind table format.  What is the most
> efficient way to model this?  Make a generic table and create a NEW
> for each one in the controller save action?
>
> --------------------------------------------------------------------
> Key Job Responsibility #1       job1
> Desired Outcome(s) outcome 1
>
> Employee Assessment
> Self Assessment Rating:
> Self Assessment Comments:
>
>
> Supervisor Assessment
> Supervisor Rating:
> Supervisor Comments:
>

Don't worry too much about forms and so on yet, think about the
fundamental objects in your requirement (users and assessments maybe).
Then think about the relationships, possibly:
user has_many assessments
assessment belongs_to user
Then work out what data and rules go in each model, and finally how to
display and enter the data.

The above is probably not what you want, but those are the sort of
things you have to think about.

Colin

--~--~---------~--~----~------------~-------~--~----~
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