:mod:`~webhelpers.rails` WebHelpers Rails *(deprecated)* ======================================================== .. warning:: Deprecated in 0.6 :mod:`~webhelpers.rails.asset_tag` ---------------------------------- .. currentmodule:: webhelpers.rails.asset_tag .. autofunction:: auto_discovery_link_tag .. autofunction:: image_tag .. autofunction:: javascript_include_tag .. autofunction:: stylesheet_link_tag .. autofunction:: compute_public_path .. autofunction:: get_script_name :mod:`~webhelpers.rails.date` ----------------------------- .. currentmodule:: webhelpers.rails.date .. autofunction:: distance_of_time_in_words .. autofunction:: time_ago_in_words :mod:`~webhelpers.rails.form_options` ------------------------------------- .. currentmodule:: webhelpers.rails.form_options .. autofunction:: options_for_select .. autofunction:: options_for_select_from_objects .. autofunction:: options_for_select_from_dicts :mod:`~webhelpers.rails.form_tag` --------------------------------- .. currentmodule:: webhelpers.rails.form_tag .. autofunction:: form .. autofunction:: end_form .. autofunction:: select .. autofunction:: text_field .. autofunction:: hidden_field .. autofunction:: file_field .. autofunction:: password_field .. autofunction:: text_area .. autofunction:: check_box .. autofunction:: radio_button .. autofunction:: submit :mod:`~webhelpers.rails.javascript` ----------------------------------- .. currentmodule:: webhelpers.rails.javascript .. autofunction:: link_to_function .. autofunction:: button_to_function .. autofunction:: escape_javascript .. autofunction:: javascript_tag .. autofunction:: javascript_cdata_section .. autofunction:: options_for_javascript .. autofunction:: array_or_string_for_javascript :mod:`~webhelpers.rails.number` ------------------------------- .. currentmodule:: webhelpers.rails.number .. autofunction:: number_to_phone .. autofunction:: number_to_currency .. autofunction:: number_to_percentage .. autofunction:: number_to_human_size .. autofunction:: human_size .. autofunction:: number_with_delimiter .. autofunction:: number_with_precision :mod:`~webhelpers.rails.prototype` ---------------------------------- .. currentmodule:: webhelpers.prototype .. warning:: Deprecated, will be removed. No replacement is planned. :mod:`~webhelpers.rails.scriptaculous` -------------------------------------- .. currentmodule:: webhelpers.scriptaculous .. warning:: Deprecated, will be removed. No replacement is planned. :mod:`~webhelpers.rails.secure_form_tag` ---------------------------------------- .. currentmodule:: webhelpers.rails.secure_form_tag .. autofunction:: get_session .. autofunction:: authentication_token .. autofunction:: secure_form .. autofunction:: secure_form_remote_tag .. autofunction:: secure_button_to :mod:`~webhelpers.rails.tags` ----------------------------- .. currentmodule:: webhelpers.rails.tags .. autofunction:: camelize .. autofunction:: strip_unders .. autofunction:: tag .. autofunction:: content_tag .. autofunction:: cdata_section .. autofunction:: escape_once .. autofunction:: fix_double_escape .. autofunction:: tag_options .. autofunction:: convert_booleans .. autofunction:: boolean_attribute :mod:`~webhelpers.rails.text` ----------------------------- .. currentmodule:: webhelpers.rails.text .. autofunction:: cycle .. autofunction:: reset_cycle .. autofunction:: counter .. autofunction:: reset_counter .. autofunction:: truncate .. autofunction:: highlight .. autofunction:: excerpt .. autofunction:: word_wrap .. autofunction:: simple_format .. autofunction:: auto_link .. autofunction:: auto_link_urls .. autofunction:: auto_link_email_addresses .. autofunction:: strip_links .. autofunction:: textilize .. autofunction:: markdown :mod:`~webhelpers.rails.urls` ----------------------------- .. currentmodule:: webhelpers.rails.urls .. autofunction:: get_url .. autofunction:: url .. autofunction:: link_to .. autofunction:: button_to .. autofunction:: link_to_unless_current .. autofunction:: link_to_unless .. autofunction:: link_to_if .. autofunction:: current_page .. autofunction:: current_url .. autofunction:: convert_options_to_javascript .. autofunction:: convert_boolean_attributes .. autofunction:: confirm_javascript_function .. autofunction:: popup_javascript_function .. autofunction:: method_javascript_function .. autofunction:: mail_to .. autofunction:: js_obfuscate :mod:`~webhelpers.rails.wrapped` -------------------------------- .. currentmodule:: webhelpers.rails.wrapped .. autofunction:: wrap_helpers :mod:`~webhelpers.rails.javascripts` ------------------------------------ .. warning:: Deprecated, will be removed. No replacement is planned.