I am trying to delete a post using the code below:
<%= link_to \'Destroy\', post, :method => :delete, :onclick => \"return confirm(\'Are you sure you wa
Have you included this line in your layout file?
<%= javascript_include_tag "application" %>