Hi, I have this link_to helper <%= link_to "edit", :action => 'edit', :id => @pirate, :confirm => 'should edit?' %>
It should (in order to what I read in apidock) prompt me for confirmation via javascript confirm, but it doesn't. Any idea why? Also when I set the :id attribute, either @pirate or @pirate.id work... why is that, and what's the preferred form? Thanks! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

