Skip to content

Instantly share code, notes, and snippets.

@cuciferus
Created September 15, 2012 10:12
Show Gist options
  • Save cuciferus/3727248 to your computer and use it in GitHub Desktop.
Save cuciferus/3727248 to your computer and use it in GitHub Desktop.
link from evaluares#new
<%= link_to 'Add a paraclinic that is not on the list', new_pacient_evaluare_paraclinic_path(@pacient, @evaluare)%>
fails with
No route matches {:action=>"new", :controller=>"paraclinics", :pacient_id=>#<Pacient id: 828, nume: "Popescu", prenume: "Gheorghe", cnp: "1220702400141", adresa: nil, debut_diabet: "1977-01-01", focad: nil, created_at: "2012-09-03 19:54:04", updated_at: "2012-09-03 19:54:04">, :evaluare_id=>#<Evaluare id: nil, data: nil, diagnostice: nil, recomandari: nil, pacient_id: nil, created_at: nil, updated_at: nil>}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment