the second parameter to link_to is the path not and id.. should be something like:
profile_comments_path(@profile) or link to ur comments controller Tair On Sep 8, 10:00 am, xxjack12xx <[EMAIL PROTECTED]> wrote: > I tried that and it gives > > ActionView::TemplateError (undefined method `fixnum_path' for > #<ActionView::Base:0x97c1074>) on line #18 > of comments/_comment.html.erb: > > 18: <%= link_to "Delete", comment.id, :method > => :delete, :confirm=>DELETE_CONFIRM %> > > On Sep 5, 9:41 pm, Jason Keenan <[EMAIL PROTECTED]> wrote: > > > <%= comment.id %> > > > is that what you meant?? > > > Jason :) > > On 05/09/2008, at 11:57 PM, Adrian Houser wrote: > > > > How do you get the id number for a comment in the view. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lovd by Less" 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/lovdbyless?hl=en Who loves ya baby? -~----------~----~----~----~------~----~------~--~---
