diff --git a/actionpack/lib/action_view/helpers/javascript_helper.rb b/actionpack/lib/action_view/helpers/javascript_helper.rb
index 35a09b2e4e..c897c5e8b8 100644
--- a/actionpack/lib/action_view/helpers/javascript_helper.rb
+++ b/actionpack/lib/action_view/helpers/javascript_helper.rb
@@ -67,6 +67,19 @@ module ActionView
# If you for some reason or another need synchronous processing (that'll
# block the browser while the request is happening), you can specify
# options[:type] = :synchronous.
+ #
+ # You can customize further browser side call logic by passing
+ # in Javascript code snippets via some optional parameters. In
+ # their order of use these are:
+ #
+ # :confirm:: Adds confirmation dialog.
+ # :condition:: Perform remote request conditionally
+ # by this expression. Use this to
+ # describe browser-side conditions when
+ # request should not be initiated.
+ # :before:: Called before request is initiated.
+ # :after:: Called immediately after request was
+ # initiated and before :loading.
def link_to_remote(name, options = {}, html_options = {})
link_to_function(name, remote_function(options), html_options)
end