Current verbose rails path helpers

I'm constantly writing code to get URLs like:

link_to @applicant.name, company_job_applicant_path(@company, @job, @applicant)

However this code looks more like this (redundant) piece:

link_to @applicant.name, company_job_applicant_path(@applicant.job.company, @applicant.job, @applicant)

This is silly.

Required 'pert' path helpers

The other parameters can clearly be derived from the @job. All I should really need to type is:

link_to @applicant.name, applicant_quick_path @applicant

where there is a definition somewhere of:

def applicant_quick_path applicant
    company_job_applicant_path(applicant.job.company, applicant.job, applicant)
end

My questions

  1. Is this a reasonable Rails Way to do things
  2. Where should I store this method?
  3. I can currently access these helpers in the console using app.company_path. How would I access my new helper methods from the console?
Edit
Report