Re: (newbie) Why doesn't this line work?
Every time I work on my app. I feel like I learn something new about every 30 minutes...
this time it was that the :confirm parameter on :link_to (which pops up a confirmation box when you click a link), is an HTML option and thus needs syntax like
delete, :id => @item.id}, {:confirm => 'Are you sure?'} %>


raesene

Security Geek, Penetration Testing, Docker, Ruby, Hillwalking