Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

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

    Remove superfluous condition

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

    Merge commit 'rails/master'

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

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

    dhh authored
    …arch, url, number, etc) (Closes #3646) [Stephen Celis]
  2. @fxn

    revises some <%= in rdoc

    fxn authored
Commits on Apr 1, 2010
  1. @jeremy

    HTML safety: give a deprecation warning if an array of option tags is…

    jeremy authored
    … passed to select tag. Be sure to join the tag yourself and mark them .html_safe
Commits on Mar 28, 2010
  1. @fxn
Commits on Mar 12, 2010
  1. @lifo

    Merge remote branch 'mainstream/master'

    lifo authored
  2. @jeroenvandijk
Commits on Mar 10, 2010
  1. @wycats
Commits on Feb 14, 2010
  1. @nono

    content_tag should escape its input

    nono authored Yehuda Katz committed
    Signed-off-by: Yehuda Katz <yehudakatz@YK.local>
Commits on Feb 5, 2010
  1. @jeremy

    More html_safe strings now use the safe_concat method

    Santiago Pastorino and José Ignacio Costa authored jeremy committed
    [#3856 state:committed]
    Signed-off-by: Jeremy Kemper <>
Commits on Feb 2, 2010
  1. @sikachu @josevalim

    Modify the behavior of `radio_button_tag` to use `sanitize_to_id` for…

    sikachu authored josevalim committed
    … consistency [#1792 status:resolved]
    Signed-off-by: José Valim <>
Commits on Feb 1, 2010
  1. For performance reasons, you can no longer call html_safe! on Strings…

    Yehuda Katz authored
    …. Instead, all Strings are always not html_safe?. Instead, you can get a SafeBuffer from a String by calling #html_safe, which will
      * Additionally, instead of doing concat("</form>".html_safe), you can do
        safe_concat("</form>"), which will skip both the flag set, and the flag
      * For the first pass, I converted virtually all #html_safe!s to #html_safe,
        and the tests pass. A further optimization would be to try to use
        #safe_concat as much as possible, reducing the performance impact if
        we know up front that a String is safe.
Commits on Jan 31, 2010
  1. @stefanpenner @josh

    UJS documentation.

    stefanpenner authored josh committed
  2. @stevestmartin @josh

    add :remote option to form_tag

    stevestmartin authored josh committed
  3. @josh
  4. @erikstmartin @josh

    updating link_to and button_to to support :remote => true and other o…

    erikstmartin authored josh committed
    …ptions such as :confirm in a unobtrusive manor
    Signed-off-by: Joshua Peek <>
Something went wrong with that request. Please try again.