Displaying 1 result from an estimated 1 matches for "new_skil".
Did you mean:
new_skill
2006 Feb 27
6
One to Many example... please!
...is as it should be from what I have been able to
gleen from Agile..., 4 days... and OnLamp...
So now I have the view for the CV in place with a link to ''Add a Skill''
which goes;
<%= link_to "add_skill", :controller => "cv_admin", :action =>
"new_skill" , :id => cv.id %>
But what should I put in the Controller & skill model to;
a. Create the skill with an association to the CV?
b. Find the skills associated with the CV so I can display them?
Just a couple of snippets would be fantastic, I just cannot find any
documentation any...