Linking to and rendering form for a new nested resource subclass object

this link
<%= link_to(‘Profile’, new_user_profile_path(current_user.id)) %>
launched profiles#new which rendered the form with line 1 being
<%= form_for(@profile) do |f| %>
and cause action::controller to raise:
undefined method `profiles_path’ for #<#Class:0xb263fdb4:0xb1d2aee0>

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs