link_to_function (ActionView::Helpers::JavaScriptHelper)

    # File lib/action_view/helpers/javascript_helper.rb, line 50
          def link_to_function(name, function, html_options = {})
            html_options.symbolize_keys!
            content_tag(
              "a", name,
              html_options.merge({
                :href => html_options[:href] || "#",
                :onclick => (html_options[:onclick] ? "#{html_options[:onclick]}; " : "") + "#{function}; return false;"
              })
            )
          end