link_to_remote is passing :action as id and :id as action…
I have following in view…
<%= link_to_remote ‘Hello’, :update => ‘list’, :url => {:action =>
‘hello’, :id => project.id} %>
and in log, I get this…
Parameters:
{“authenticity_token”=>“4fd2ba43462ed37b50793a388eb2dc6bc72aceb3”,
“action”=>“14”, “id”=>“hello”, “controller”=>“projects”}
ActionController::UnknownAction (No action responded to 14):