next time type rake routes and look at the names of the helpers there you will see the helper for the show action is
profile_path no show_profile_path, the output of rake route does not add the path ad the end because it could be something else like url, e.g. profile_url On Wed, Sep 22, 2010 at 6:57 AM, Michael Pavling <[email protected]> wrote: > On 22 September 2010 11:52, Al Rowan <[email protected]> wrote: > > but i keep getting the error > > > > "undefined method 'show_profile_path' for ..." > > <%= link_to "Profile", @profile %> > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<rubyonrails-talk%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

