Skip to content
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:
Commits on Dec 15, 2010
  1. @asanghi
Commits on Dec 13, 2010
  1. @remear @radar
Commits on Nov 28, 2010
  1. @amatsuda
Commits on Oct 18, 2010
  1. @spastorino
Commits on Oct 11, 2010
  1. @spastorino
Commits on Sep 25, 2010
  1. @carlosantoniodasilva @josevalim
Commits on Aug 18, 2010
  1. @wycats

    Revert "It's snowing!"

    wycats committed Aug 18, 2010
    This reverts commit e428300.
Commits on Aug 14, 2010
  1. @spastorino

    Deletes trailing whitespaces (over text files only find * -type f -ex…

    spastorino committed Aug 14, 2010
    …ec sed 's/[ \t]*$//' -i {} \;)
Commits on Aug 12, 2010
  1. @jeremy

    It's snowing!

    jeremy committed Aug 12, 2010
  2. @wycats

    Replace snowman with utf8=✓

    wycats committed Aug 11, 2010
Commits on Aug 9, 2010
  1. @wycats

    rename _snowman to _e

    wycats committed Aug 9, 2010
Commits on Jul 25, 2010
  1. @spastorino @josevalim

    Change returning with tap

    spastorino committed with josevalim Jul 25, 2010
    Signed-off-by: José Valim <>
Commits on Jun 29, 2010
  1. @fxn

    s/escape_once/html_escape/, since html safety is the contract that no…

    fxn committed Jun 30, 2010
    …w says whether something has to be escaped
  2. @fxn

    url_for no longer escapes HTML, the :escape option is also gone

    fxn committed Jun 29, 2010
    Rationale: url_for is just a path/URL generator, it is the responsability of the caller to escape conveniently HTML needs it, JavaScript needs different escaping, a text mail needs no escaping at all, etc.
  3. @josevalim
Commits on Jun 28, 2010
  1. @wycats

    Small typo

    wycats committed Jun 27, 2010
  2. @wycats

    Fix several known web encoding issues:

    wycats committed Jun 27, 2010
    * Specify accept-charset on all forms. All recent browsers,
      as well as IE5+, will use the encoding specified for form
    * Unfortunately, IE5+ will not look at accept-charset unless
      at least one character in the form's values is not in the
      page's charset. Since the user can override the default
      charset (which Rails sets to UTF-8), we provide a hidden
      input containing a unicode character, forcing IE to look
      at the accept-charset.
    * Now that the vast majority of web input is UTF-8, we set
      the inbound parameters to UTF-8. This will eliminate many
      cases of incompatible encodings between ASCII-8BIT and
    * You can safely ignore params[:_snowman_]
    * Validate inbound text to confirm it is UTF-8
    * Combine the whole_form implementations in form_helper_test
      and form_tag_helper_test
Commits on Jun 16, 2010
  1. @rizwanreza
Commits on Jun 11, 2010
  1. @dolzenko
Commits on May 25, 2010
  1. @jeremy
Commits on May 15, 2010
  1. @josevalim
  2. @stephencelis @josevalim

    Let label helpers accept blocks.

    stephencelis committed with josevalim Apr 20, 2010
    Signed-off-by: José Valim <>
Commits on Apr 9, 2010
  1. @fxn

    image_path -> path_to_image in a couple of places, plus motivation fo…

    fxn committed Apr 9, 2010
    …r path_to_image in rdoc
Commits on Apr 8, 2010
  1. @dhh
  2. @jeremy

    Remove superfluous condition

    jeremy committed Apr 8, 2010
Commits on Apr 6, 2010
  1. @fxn

    Merge commit 'rails/master'

    fxn committed Apr 6, 2010
Commits on Apr 5, 2010
  1. @dhh

    Added all the new HTML5 form types as individual form tag methods (se…

    dhh committed Apr 5, 2010
    …arch, url, number, etc) (Closes #3646) [Stephen Celis]
Something went wrong with that request. Please try again.