Skip to content
Commits on Apr 28, 2012
  1. @gazay

    AS core_ext refactoring

    gazay committed Apr 26, 2012
Commits on Mar 2, 2012
  1. @carlosantoniodasilva

    Stop SafeBuffer#clone_empty from issuing warnings

    carlosantoniodasilva committed Mar 2, 2012
    Logic in clone_empty method was dealing with old @dirty variable, which
    has changed by @html_safe in this commit:
    139963c
    
    This was issuing a "not initialized variable" warning - related to:
    #5237
    
    The logic applied by this method is already handled by the [] override,
    so there is no need to reset the variable here.
Commits on Mar 1, 2012
  1. @josevalim @tenderlove
Commits on Feb 21, 2012
  1. @amatsuda @tenderlove
  2. @amatsuda @tenderlove

    add AS::SafeBuffer#clone_empty

    amatsuda committed with tenderlove Feb 13, 2012
Commits on Feb 1, 2012
  1. @vijaydev

    revise docs [ci skip]

    vijaydev committed Feb 1, 2012
  2. @carlosantoniodasilva
  3. @carlosantoniodasilva

    Move escape_once logic to ERB::Util, where it belongs to

    carlosantoniodasilva committed Jan 12, 2012
    All the logic is based on the HTML_ESCAPE constant available in
    ERB::Util, so it seems more logic to have the entire method there and
    just delegate the helper to use it.
Commits on Jan 25, 2012
  1. @carlosantoniodasilva

    Change ActiveRecord::Errors to ActiveModel::Errors in guides

    carlosantoniodasilva committed Jan 25, 2012
    Use ActiveModel::Errors in inflection example docs as well.
    
    Also fixes wrong information and link to locale file related to
    Errors#full_messages in I18n guide.
Commits on Jan 4, 2012
  1. @lest
  2. No need to override the to_yaml method in ActiveSupporte::SafeBuffer

    Rafael Mendonça França committed Jan 4, 2012
  3. No need to check if YAML::ENGINE is defined since ruby 1.9 does that

    Rafael Mendonça França committed Jan 4, 2012
Commits on Dec 25, 2011
  1. @lest
Commits on Dec 24, 2011
  1. @lest
Commits on Dec 22, 2011
  1. @lest

    no more need to make Time#to_date and Time#to_datetime public

    lest committed Dec 22, 2011
    they are public in actual 1.9 ruby version (tested at least in 1.9.2-p180)
Commits on Dec 21, 2011
  1. @guilleiguaran
  2. @lest
Commits on Dec 20, 2011
  1. @josevalim

    Initial pass at removing dead 1.8.x code from Active Support.

    josevalim committed Dec 20, 2011
    There are a bunch of other implicit branches that adds
    1.8.x specific code that still needs to be removed. Pull
    requests for those cases are welcome.
Commits on Dec 11, 2011
  1. @jeremy

    Remove duplicate html_escape docs

    jeremy committed Dec 11, 2011
  2. @jeremy

    Use 1.9 native XML escaping to speed up html_escape and shush regexp …

    jeremy committed Dec 11, 2011
    …warnings
    
            length      user     system      total        real
    before  6      0.010000   0.000000   0.010000 (  0.012378)
    after   6      0.010000   0.000000   0.010000 (  0.012866)
    before  60     0.040000   0.000000   0.040000 (  0.046273)
    after   60     0.040000   0.000000   0.040000 (  0.036421)
    before  600    0.390000   0.000000   0.390000 (  0.390670)
    after   600    0.210000   0.000000   0.210000 (  0.209094)
    before  6000   3.750000   0.000000   3.750000 (  3.751008)
    after   6000   1.860000   0.000000   1.860000 (  1.857901)
Commits on Dec 8, 2011
  1. @vijaydev

    fix nodocs

    vijaydev committed Dec 9, 2011
Commits on Dec 3, 2011
  1. @jenseng @josevalim

    Restore performance of ERB::Util.html_escape

    jenseng committed with josevalim Dec 2, 2011
    Revert html_escape to do a single gsub again, but add the "n" flag (no
    language, i.e. not multi-byte) to protect against XSS via invalid utf8
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Nov 9, 2011
  1. @amatsuda
Commits on Oct 30, 2011
  1. @fxn
  2. @fxn

    defines Module#qualified_const_(defined?|get|set) and String#deconsta…

    fxn committed Oct 29, 2011
    …ntize
    
    This commit also implements a faster version of #demodulize I was unable
    to isolate with git add --patch.
    
    Not a big fan of the name #deconstantize. It complements #demodulize
    getting rid of the rightmost constant, hence the name, but it is
    unrelated to the well-known #constantize. So unsure. Could not come
    with anything better, please feel free to rename.
Commits on Oct 17, 2011
  1. @josevalim

    Merge pull request #3151 from zenprogrammer/pluralize_without_count

    josevalim committed Oct 17, 2011
    Added include_count parameter to pluralize.
Commits on Oct 5, 2011
  1. @amatsuda
  2. @amatsuda
Commits on Sep 28, 2011
  1. @rroblak
Commits on Sep 24, 2011
  1. @avakhov
Commits on Sep 23, 2011
  1. @rroblak
  2. @rroblak @josevalim

    Added ActiveSupport::Inflector.safe_constantize and String#safe_const…

    rroblak committed with josevalim Sep 22, 2011
    …antize; refactored common constantize tests into ConstantizeTestCases
Commits on Sep 21, 2011
  1. @vijaydev

    fix incorrect comment

    vijaydev committed Sep 22, 2011
Commits on Sep 17, 2011
  1. @spastorino
Commits on Sep 8, 2011
  1. @vijaydev

    revert the changes from c60995f - related to marking sub,gsub as unav…

    vijaydev committed Sep 9, 2011
    …ailable to use with safe strings
Something went wrong with that request. Please try again.