Skip to content


Subversion checkout URL

You can clone with
Download ZIP
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
Commits on Feb 12, 2011
  1. @tomstuart

    Add block support to button_tag helper

    tomstuart committed with Santiago Pastorino and Emilio Tagua
    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
    "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
  2. @rizwanreza @jeremy

    HTML5 button_tag helper

    rizwanreza committed with jeremy
    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
    This reverts commit e428300.
Commits on Aug 14, 2010
  1. @spastorino

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

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

    It's snowing!

    jeremy committed
  2. @wycats

    Replace snowman with utf8=✓

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

    rename _snowman to _e

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

    Change returning with tap

    spastorino committed with josevalim
    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
    …w says whether something has to be escaped
  2. @fxn

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

    fxn committed
    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
  2. @wycats

    Fix several known web encoding issues:

    wycats committed
    * 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
    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
    …r path_to_image in rdoc
Commits on Apr 8, 2010
  1. @dhh
  2. @jeremy

    Remove superfluous condition

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

    Merge commit 'rails/master'

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

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

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