search for: applicant_phone_numb

Displaying 1 result from an estimated 1 matches for "applicant_phone_numb".

Did you mean: applicant_phone_number
2008 Nov 04
3
Nester Resources, Routes and Class Inheritance
...pe field set to reference... All companies can have a phone number associated with them, and phone number is a different model... I''m having trouble using the form_for method with a company that happens to be an Applicant... form_for( [ @company, @phone_number] ) tries to use the route applicant_phone_number however the only route that exists is company_phone_number, which is the one I want to use... I tried to create a route by creating a map.resource :applicants, :has_many => phone_numbers but there is no resource for Reference or Applicant only models, and thus it breaks down... I get errors....