Re: [rspec-users] link_to destroy

2013-06-11 Thread oliver
<%= link_to 'Destroy', department_mst, :confirm => 'Are you sure?', :method => :delete %> ( :confirm => 'Are you sure?', :method => :delete) => this is not functioning when I created the rspec Please help me. Thanks! -- View this message in context: http://ruby.11.x6.nabble.com/error-link-to-

[rspec-users] link_to destroy

2013-06-11 Thread oliver
Hello! I am getting error with destroy. If I've click destroy, it redirects to show. And that should happen. It should prompt a confirmation if you want to delete. Can you help me in this case. -- View this message in context: http://ruby.11.x6.nabble.com/error-link-to-destroy-tp4991678.html S

[rspec-users] link_to destroy

2013-06-11 Thread Oliver Jesus
Hello!I am getting error with destroy. If I've click destroy, it redirects to show.And that should happen. It should prompt a confirmation if you want to delete. Can you help me in this case.___ rspec-users mailing list rspec-users@rubyforge.org http://