{"action":"created","issue":{"url":"https://api.github.com/repos/activescaffold/active_scaffold/issues/469","labels_url":"https://api.github.com/repos/activescaffold/active_scaffold/issues/469/labels{/name}","comments_url":"https://api.github.com/repos/activescaffold/active_scaffold/issues/469/comments","events_url":"https://api.github.com/repos/activescaffold/active_scaffold/issues/469/events","html_url":"https://github.com/activescaffold/active_scaffold/issues/469","id":126768490,"number":469,"title":" process_action_link_action isn't sending the proper headers","user":{"login":"markmcdonald51","id":39400,"avatar_url":"https://avatars.githubusercontent.com/u/39400?v=3","gravatar_id":"","url":"https://api.github.com/users/markmcdonald51","html_url":"https://github.com/markmcdonald51","followers_url":"https://api.github.com/users/markmcdonald51/followers","following_url":"https://api.github.com/users/markmcdonald51/following{/other_user}","gists_url":"https://api.github.com/users/markmcdonald51/gists{/gist_id}","starred_url":"https://api.github.com/users/markmcdonald51/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markmcdonald51/subscriptions","organizations_url":"https://api.github.com/users/markmcdonald51/orgs","repos_url":"https://api.github.com/users/markmcdonald51/repos","events_url":"https://api.github.com/users/markmcdonald51/events{/privacy}","received_events_url":"https://api.github.com/users/markmcdonald51/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-14T23:02:32Z","updated_at":"2016-01-15T08:50:42Z","closed_at":null,"body":"Hi All,\r\n\r\nSomething must have changed in the last few months since I checked  and it appears that ' process_action_link_action ' isn't sending out the right header.  It looks to be sending out the correct update on_action_update.js.erb but it just hangs. \r\n\r\nDoes anyone know what this is not longer updating and refreshing the row via js?\r\n\r\nThanks in advance,\r\nMark\r\n\r\n```erb\r\n  <%\r\n  events = @record.aasm.events.map(&:name)\r\n  links = events.map do |event|\r\n    link_to(event .to_s.titleize, state_change_google_search_result_path(@record, \r\n      { event: event}), method: :put, remote: true) \r\n  end\r\n \r\n    %>  \r\n\r\n    <%= display_dynamic_action_group active_scaffold_config.action_links[:get_states],\r\n   links, @record, :class => 'report_submenu' %>\r\n```\r\n\r\n\r\n   (0.0ms)  begin transaction\r\n  SQL (0.1ms)  UPDATE \"google_search_results\" SET \"aasm_state\" = ?, \"updated_at\" = ? WHERE \"google_search_results\".\"id\" = ?  [[\"aasm_state\", \"rejected\"], [\"updated_at\", \"2016-01-14 22:54:07.924898\"], [\"id\", 2996]]\r\n   (8.6ms)  commit transaction\r\n  Rendered /home/hounddog/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/active_scaffold-3.4.18.1/app/views/active_scaffold_overrides/_messages.html.erb (0.9ms)\r\n  Rendered /home/hounddog/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/active_scaffold-3.4.18.1/app/views/active_scaffold_overrides/_update_messages.js.erb (6.0ms)\r\n  Rendered /home/hounddog/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/active_scaffold-3.4.18.1/app/views/active_scaffold_overrides/_list_record.html.erb (4.0ms)\r\n  Rendered /home/hounddog/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/active_scaffold-3.4.18.1/app/views/active_scaffold_overrides/_update_calculations.js.erb (0.4ms)\r\n  Rendered /home/hounddog/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/active_scaffold-3.4.18.1/app/views/active_scaffold_overrides/on_action_update.js.erb (19.5ms)\r\nCompleted 200 OK in 40ms (Views: 25.4ms | ActiveRecord: 9.1ms)\r\n"},"comment":{"url":"https://api.github.com/repos/activescaffold/active_scaffold/issues/comments/171904311","html_url":"https://github.com/activescaffold/active_scaffold/issues/469#issuecomment-171904311","issue_url":"https://api.github.com/repos/activescaffold/active_scaffold/issues/469","id":171904311,"user":{"login":"scambra","id":20515,"avatar_url":"https://avatars.githubusercontent.com/u/20515?v=3","gravatar_id":"","url":"https://api.github.com/users/scambra","html_url":"https://github.com/scambra","followers_url":"https://api.github.com/users/scambra/followers","following_url":"https://api.github.com/users/scambra/following{/other_user}","gists_url":"https://api.github.com/users/scambra/gists{/gist_id}","starred_url":"https://api.github.com/users/scambra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scambra/subscriptions","organizations_url":"https://api.github.com/users/scambra/orgs","repos_url":"https://api.github.com/users/scambra/repos","events_url":"https://api.github.com/users/scambra/events{/privacy}","received_events_url":"https://api.github.com/users/scambra/received_events","type":"User","site_admin":false},"created_at":"2016-01-15T08:50:42Z","updated_at":"2016-01-15T08:50:42Z","body":"Can you check network tab on web inspector? Check response, if it has right JS, and response headers, content-type should have text/javascript"}}