Hi Guys,
I am have started learning Rails, it was going good until now.
I am using HAML and have this on my index.haml
= submit_to_remote "submit_btn", "Create", :url => {:controller => "queries", :action => "create"}, :method => "post"
= submit_to_remote "exe_btn", "Execute", :url => {:controller => "queries", :action => "execute"}, :method => "post"
It gives me back this error when trying to run it
No route matches {:controller=>"queries", :action=>"execute"}
As soon as I removed this line
= submit_to_remote "exe_btn", "Execute", :url => {:controller => "queries", :action => "execute"}, :method => "post"
It works without a problem.
Does anyone know what I am doing wrong and have any advice for me?
Cheers
Eef