Skip to content

Instantly share code, notes, and snippets.

@bscofield
Created January 7, 2009 13:10
Show Gist options
  • Save bscofield/44273 to your computer and use it in GitHub Desktop.
Save bscofield/44273 to your computer and use it in GitHub Desktop.
code:
$('a').click(function() {
$.ajax({dataType: 'script', type: 'get', url: 'bucket/new'});
return false;
});
results from IE7
Processing ApplicationController#index (for 192.168.0.199 at 2009-01-07 08:06:54) [POST]
Parameters: {"_"=>"1231333515818"}
ActionController::MethodNotAllowed (Only get requests are allowed.):
Rendered rescues/_trace (68.9ms)
Rendered rescues/_request_and_response (0.7ms)
Rendering rescues/layout (method_not_allowed)
results from FF:
Processing BucketsController#new (for 127.0.0.1 at 2009-01-07 08:08:24) [GET]
Parameters: {"action"=>"new", "controller"=>"buckets", "_"=>"1231333704446"}
Rendered buckets/_new_open (241.2ms)
Completed in 436ms (View: 374, DB: 11) | 200 OK [http://xxx.local/bucket/new?_=1231333704446]
code:
$('a').attach(Remote.Link, { dataType: 'script' });
results from IE7:
Processing ApplicationController#index (for 192.168.0.199 at 2009-01-07 08:02:47) [POST]
Parameters: {"_"=>"1231333269599"}
ActionController::MethodNotAllowed (Only get requests are allowed.):
Rendered rescues/_trace (68.9ms)
Rendered rescues/_request_and_response (0.7ms)
Rendering rescues/layout (method_not_allowed)
results from FF:
Processing BucketsController#new (for 127.0.0.1 at 2009-01-07 08:02:16) [GET]
Parameters: {"action"=>"new", "controller"=>"buckets", "_"=>"1231333336537"}
Rendered buckets/_new_open (130.6ms)
Completed in 427ms (View: 401, DB: 11) | 200 OK [http://xxx.local/bucket/new?_=1231333336537]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment