Skip to content
Commits on Aug 9, 2012
  1. @spastorino

    escape select_tag :prompt values

    spastorino committed Aug 8, 2012
Commits on Aug 1, 2012
  1. @rafaelfranca

    Revert "Deprecate `:confirm` in favor of `:data => { :confirm => 'Tex…

    rafaelfranca committed Aug 1, 2012
    …t' }` option"
    Revert "Deprecate `:disable_with` in favor of `'data-disable-with'` option for `button_to` and `submit_tag` helpers."
    This reverts commit fc092a9.
    This reverts commit e9051e2.
    This reverts commit d47d6e7.
    This reverts commit 21141e7.
Commits on Jun 5, 2012
  1. @carlosgaldino

    Deprecate `:confirm` in favor of `:data => { :confirm => 'Text' }` op…

    carlosgaldino committed Jun 1, 2012
    This deprecation applies to:
    As :confirm is an UI specific option is better to use the data attributes,
    teaching users about unobtrusive JavaScript and how Rails works with it.
Commits on May 14, 2012
  1. Deprecate `:disable_with` for `button_tag` too

    Carlos Galdino + Rafael Mendonça França committed May 14, 2012
  2. Deprecate `:disable_with` in favor of `'data-disable-with'` option fo…

    Carlos Galdino + Rafael Mendonça França committed May 14, 2012
    …r `button_to` and `submit_tag` helpers.
Commits on Mar 28, 2012
  1. @drogus

    Cover one more case in auth_token and remote forms

    drogus committed Mar 28, 2012
    If embedding auth_token in remote forms is off and we
    pass a value for auth_token it should respect it.
  2. @drogus

    Added config.action_view.embed_authenticity_token_in_remote_forms

    drogus committed Mar 28, 2012
    There is a regression introduced in 16ee611, which breaks
    remote forms that should also work without javascript. This commit
    introduces config option that allows to configure this behavior
    defaulting to the old behavior (ie. include authenticity token
    in remote forms by default)
Commits on Mar 14, 2012
  1. @dhh

    Allow you to force the authenticity_token to be rendered even on remo…

    dhh committed Mar 14, 2012
    …te forms if you pass true
  2. @dhh

    Do not include the authenticity token in forms where remote: true as …

    dhh committed Mar 14, 2012
    …ajax forms use the meta-tag value
Commits on Dec 31, 2011
  1. @fuzzyalej @vijaydev
Commits on Dec 29, 2011
  1. @vijaydev

    revise some doc changes

    vijaydev committed Dec 29, 2011
  2. @fuzzyalej @vijaydev
Commits on Oct 28, 2011
  1. @pwim
Commits on Sep 4, 2011
  1. if ... nil? is more expensive than unless

    Milan Dobrota committed Sep 4, 2011
Commits on Aug 25, 2011
  1. @spastorino

    Tiny refactor

    spastorino committed Aug 25, 2011
  2. @spastorino

    Merge pull request #2491 from waynn/fix_symbol

    spastorino committed Aug 25, 2011
    fix destructive stringify_keys for label_tag
Commits on Aug 11, 2011
  1. @waynn
  2. @grzuy

    Remove 'parameters_for_url' parameter from 'form_tag' method signature

    Gonzalo Rodriguez and Leonardo Capillera committed with grzuy Aug 10, 2011
    If you use that parameter it will end calling to url_for with two
    arguments, which fails because url_for expects only one
Commits on Aug 4, 2011
  1. @waynn

    fix stringify_keys destructive behavior for most FormTagHelper functions

    waynn committed Jul 29, 2011
    add four new tests to verify that the other three methods that called stringify_keys! are fixed. verified that the tests break in master without the code patch. Closes #2355
Commits on Jul 30, 2011
  1. @waynn
Commits on Jul 24, 2011
  1. @oem

    Missed a few instances of British English spelling in the last commit

    oem committed Jul 24, 2011
    oh and obviously I meant according to Webster, not Weber
  2. @oem

    Changed a few instances of of words in the API docs written in Britis…

    oem committed Jul 24, 2011
    …h English to
    American English(according to Weber)
Commits on Jun 11, 2011
  1. @josevalim
  2. @dlee
  3. @dlee
  4. @dlee

    There are no snowmen here

    dlee committed May 8, 2011
Commits on May 23, 2011
  1. @smartinez87
Commits on May 8, 2011
  1. @jsnrth
Commits on May 3, 2011
  1. @danielvlopes
Commits on Mar 5, 2011
  1. @rtlechow @fxn

    Action Pack typos.

    rtlechow committed with fxn Mar 4, 2011
Commits on Feb 12, 2011
  1. @tomstuart

    Add block support to button_tag helper

    tomstuart committed with Santiago Pastorino and Emilio Tagua Feb 12, 2011
    As per the HTML 4.01 spec:
      Buttons created with the BUTTON element function just like buttons
      created with the INPUT element, but they offer richer rendering
      possibilities: the BUTTON element may have content. For example, a
      BUTTON element that contains an image functions like and may resemble
      an INPUT element whose type is set to "image", but the BUTTON element
      type allows content.
    Since rich content is the main purpose of the <button> element, it makes
    sense for the button_tag helper to accept a block.
    Signed-off-by: Santiago Pastorino and Emilio Tagua <>
  2. @tomstuart

    Make type="submit" the default for button_tag helper

    tomstuart committed with Santiago Pastorino and Emilio Tagua Feb 12, 2011
    "submit" is the default value of the <button> element's type attribute
    according to the HTML 4.01 and the HTML5 draft specs, so if button_tag
    is going to have a default, type="submit" is a more sensible choice than
    Signed-off-by: Santiago Pastorino and Emilio Tagua <>
Commits on Jan 13, 2011
  1. @spastorino
Commits on Jan 9, 2011
  1. @jeremy

    authenticity_token option for form_tag [#2988 state:resolved]

    Jakub Kuźma committed with jeremy Dec 27, 2010
  2. @rizwanreza @jeremy

    HTML5 button_tag helper

    rizwanreza committed with jeremy Dec 23, 2010
    This tag is similar in nature to submit_tag, but allows more control.
    It also doesn't submit if submit type isn't used, allowing JavaScript to
    control the flow where required.
    For more information:
Something went wrong with that request. Please try again.