Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: v3.0.7.rc2
Commits on Apr 15, 2011
  1. @spastorino
  2. @smartinez87 @spastorino

    Added missing CHANGELOG entries for 3.0.7

    smartinez87 authored spastorino committed
    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
  3. @pixeltrix
  4. @jonleighton

    Update CHANGELOG

    jonleighton authored
  5. @jonleighton

    Backport test assertions from 65469a6 (the behaviour is already the s…

    jonleighton authored
    …ame, but we need to assertions to guard against regressions)
  6. @jonleighton

    Undo performances regressions I introduced in 36691ac and add test fo…

    jonleighton authored
    …r an edge case. Add comments to explain the intent of the code. Also fix the code (which previously worked differently on 1.8 and 1.9 due to Symbol#=~ being always false on 1.8)."
  7. @jonleighton

    Return nil from read_attribute if _foo is defined, but @attributes ha…

    jonleighton authored
    …s no 'foo' key. Fixes breakage in test_find_only_some_columns on Ruby 1.9 which was introduced in a3639be.
  8. @jonleighton

    Remove unnecessary code from define_read_method and add assertion to …

    jonleighton authored
    …make sure the underscored version is actually generated
Commits on Apr 14, 2011
  1. @spastorino
  2. @spastorino
  3. @stiang @tenderlove

    Fixes performance issue introduced in 3.0.6 (issue #6695)

    stiang authored tenderlove committed
  4. @indirect @dhh

    files are a special case and need whitespace to be significant

    indirect authored dhh committed
  5. @indirect @dhh

    gsub is not needed (thanks @fxn!)

    indirect authored dhh committed
  6. @indirect @dhh

    attributes no longer disappear if a tag contains whitespace

    indirect authored dhh committed
    old:
    Hash.from_xml("<tag foo='bar'>\n</tag>")
    => {"tag"=>"\n"}
    
    new:
    Hash.from_xml("<tag foo='bar'>\n</tag>")
    => {"tag"=>{"foo"=>"bar", "__content__"=>"\n"}
Commits on Apr 5, 2011
  1. @tenderlove

    Merge branch '3-0-6' into 3-0-stable

    tenderlove authored
    * 3-0-6:
      bumping version to 3.0.6
      updating CHANGELOG
      updating CHANGELOG for actionpack
      do not return html safe strings from auto_link
      bumping to 3.0.6.rc2
      Support both conventions for translations for namespaced models.
      Added back the use of the Reflection module's cached sanitized_conditions in an AssociationProxy. This was recently removed and when a has_one association with conditions is eager loaded the conditions would be sanitized once for every result row, causing a database hit to fetch the columns.
      Bring back i18n_key to avoid regression
      Revert "Improve testing of cookies in functional tests:"
      bumping version to 3.0.6.rc1
      updating AR changelog
  2. @tenderlove

    bumping version to 3.0.6

    tenderlove authored
  3. @tenderlove

    updating CHANGELOG

    tenderlove authored
  4. @tenderlove
  5. @tenderlove
  6. @joshk @josevalim

    remove AM delegating register_observer and register_interceptor to Ma…

    joshk authored josevalim committed
    …il and instead implement smarter versions allowing for string class names, also added proper Railtie support with tests
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
  7. @durran @spastorino

    Destroying records via nested attributes works independent of reject_if:

    durran authored spastorino committed
    - When a :_destroy truthiness is provided in the attributes hash, the
      record should get destroyed regardless of the result of the proc or
        method supplied to :reject_if. (If :allow_destroy is true)
    
    [#6006 state:committed]
    
    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Commits on Mar 31, 2011
  1. @tenderlove

    bumping to 3.0.6.rc2

    tenderlove authored
  2. @tenderlove

    Support both conventions for translations for namespaced models.

    John Firebaugh authored tenderlove committed
    3.0.0 - 3.0.1 required 'namespace/model'
    3.0.2 - 3.0.5 required 'namespace.model' (nested). It has the advantage of
    keeping the i18n file DRY when multiple models are in the same namespace,
    but can lead to translation key conflicts if models are nested within
    models.
    
    [#6448, #5572]
  3. @tenderlove

    Support both conventions for translations for namespaced models.

    John Firebaugh authored tenderlove committed
    3.0.0 - 3.0.1 required 'namespace/model'
    3.0.2 - 3.0.5 required 'namespace.model' (nested). It has the advantage of
    keeping the i18n file DRY when multiple models are in the same namespace,
    but can lead to translation key conflicts if models are nested within
    models.
    
    [#6448, #5572]
Commits on Mar 30, 2011
  1. @baconpat @tenderlove

    Added back the use of the Reflection module's cached sanitized_condit…

    baconpat authored tenderlove committed
    …ions in an AssociationProxy. This was recently removed and when a has_one association with conditions is eager loaded the conditions would be sanitized once for every result row, causing a database hit to fetch the columns.
  2. @tenderlove

    Merge branch 'eager_load_has_one_with_conditions_fix' of https://gith…

    tenderlove authored
    …ub.com/baconpat/rails into baconpat-eager_load_has_one_with_conditions_fix
    
    * 'eager_load_has_one_with_conditions_fix' of https://github.com/baconpat/rails:
      Added back the use of the Reflection module's cached sanitized_conditions in an AssociationProxy. This was recently removed and when a has_one association with conditions is eager loaded the conditions would be sanitized once for every result row, causing a database hit to fetch the columns.
  3. @spastorino @tenderlove

    Bring back i18n_key to avoid regression

    spastorino authored tenderlove committed
  4. @spastorino
  5. @baconpat

    Added back the use of the Reflection module's cached sanitized_condit…

    baconpat authored
    …ions in an AssociationProxy. This was recently removed and when a has_one association with conditions is eager loaded the conditions would be sanitized once for every result row, causing a database hit to fetch the columns.
Commits on Mar 29, 2011
  1. @tenderlove
  2. @josevalim
  3. @pixeltrix
  4. @pixeltrix
  5. @pixeltrix
Commits on Mar 28, 2011
  1. @tenderlove
Something went wrong with that request. Please try again.