I got this to work , although I think it’s a bit hacky.
The big remaining question in my mind is, if this is a restful setup
then
should canindustry be a nested resource of canbackground ?
class Canindustry < ActiveRecord::Base
:name, { :prompt => true })%> # gets inserted into canbackground
end
The candidate_id will need to be inserted into the canindustry model. Not
sure if I need the canbackground_id in the canindustry model.