Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jul 24, 2011
  1. @oem @fxn

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

    oem authored fxn committed
    oh and obviously I meant according to Webster, not Weber
  2. @oem @fxn

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

    oem authored fxn committed
    …h English to
    
    American English(according to Weber)
    
    Conflicts:
    
    	actionpack/lib/action_controller/metal/request_forgery_protection.rb
    	railties/lib/rails/engine.rb
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 authored fxn committed
Commits on Feb 12, 2011
  1. @tomstuart

    Add block support to button_tag helper

    tomstuart authored Santiago Pastorino and Emilio Tagua committed
    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.
    
    http://www.w3.org/TR/html401/interact/forms.html#edef-BUTTON
    http://dev.w3.org/html5/spec/the-button-element.html#the-button-element
    
    Signed-off-by: Santiago Pastorino and Emilio Tagua <santiago+emilioe@wyeworks.com>
  2. @tomstuart

    Make type="submit" the default for button_tag helper

    tomstuart authored Santiago Pastorino and Emilio Tagua committed
    "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
    type="button".
    
    http://www.w3.org/TR/html401/interact/forms.html#adef-type-BUTTON
    http://dev.w3.org/html5/spec/the-button-element.html#attr-button-type
    
    Signed-off-by: Santiago Pastorino and Emilio Tagua <santiago+emilioe@wyeworks.com>
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 authored jeremy committed
  2. @rizwanreza @jeremy

    HTML5 button_tag helper

    rizwanreza authored jeremy committed
    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: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#the-button-element
Commits on Dec 15, 2010
  1. @asanghi
Commits on Dec 13, 2010
  1. @remear @radar

    Added :placeholder option to ActionView::Helpers::FormTagHelper text_…

    remear authored radar committed
    …field_tag
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 authored
    This reverts commit e428300.
Commits on Aug 14, 2010
  1. @spastorino

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

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

    It's snowing!

    jeremy authored
  2. @wycats

    Replace snowman with utf8=✓

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

    rename _snowman to _e

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

    Change returning with tap

    spastorino authored josevalim committed
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Jun 29, 2010
  1. @fxn

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

    fxn authored
    …w says whether something has to be escaped
  2. @fxn

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

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

    Fix several known web encoding issues:

    wycats authored
    * Specify accept-charset on all forms. All recent browsers,
      as well as IE5+, will use the encoding specified for form
      parameters
    * 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
      UTF-8.
    * You can safely ignore params[:_snowman_]
    
    TODO:
    
    * 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 authored josevalim committed
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Apr 9, 2010
  1. @fxn

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

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

    Remove superfluous condition

    jeremy authored
Something went wrong with that request. Please try again.