<%= 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-
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
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://