Displaying 1 result from an estimated 1 matches for "case_control".
Did you mean:
call_control
2006 Jan 27
1
Basic Many-to-One association
...us has Many Cases. Thus it is a One-to-Many relationship. That
is descriped on page 234 of the book.
Below is a list of what I did in my code.
=========
1) I changed the name of the field "status_id" in the cases table to
"case_status_id"
Then fixed the error this caused in case_controller.rb by simply
changing the name of the status_id field reference.
I did the same name change in app/view/case/list.rhtml, but then I
modified that line later anyway.
I''m sure I missed a bunch I was just trying to get a proof of concept working.
2) I added a "belongs_to :case_stat...