Permalink
Commits on Apr 18, 2011
  1. bumping version for release

    tenderlove committed Apr 18, 2011
Commits on Apr 15, 2011
  1. Added missing CHANGELOG entries for 3.0.7

    smartinez87 committed with spastorino Apr 15, 2011
    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
  2. Add missing CHANGELOG entries

    pixeltrix committed Apr 15, 2011
  3. Update CHANGELOG

    jonleighton committed Apr 15, 2011
  4. Backport test assertions from 65469a6 (the behaviour is already the s…

    jonleighton committed Apr 15, 2011
    …ame, but we need to assertions to guard against regressions)
  5. Undo performances regressions I introduced in 36691ac and add test fo…

    jonleighton committed Apr 15, 2011
    …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)."
  6. Return nil from read_attribute if _foo is defined, but @attributes ha…

    jonleighton committed Apr 15, 2011
    …s no 'foo' key. Fixes breakage in test_find_only_some_columns on Ruby 1.9 which was introduced in a3639be.
  7. Remove unnecessary code from define_read_method and add assertion to …

    jonleighton committed Apr 15, 2011
    …make sure the underscored version is actually generated
Commits on Apr 14, 2011
  1. Add missing CHANGELOG entries

    spastorino committed Apr 14, 2011
  2. gsub is not needed (thanks @fxn!)

    indirect committed with dhh Apr 14, 2011
  3. attributes no longer disappear if a tag contains whitespace

    indirect committed with dhh Apr 14, 2011
    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. Merge branch '3-0-6' into 3-0-stable

    tenderlove committed Apr 5, 2011
    * 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. bumping version to 3.0.6

    tenderlove committed Apr 5, 2011
  3. updating CHANGELOG

    tenderlove committed Apr 5, 2011
  4. remove AM delegating register_observer and register_interceptor to Ma…

    joshk committed with josevalim Apr 4, 2011
    …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>
  5. Destroying records via nested attributes works independent of reject_if:

    durran committed with spastorino Apr 5, 2011
    - 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. bumping to 3.0.6.rc2

    tenderlove committed Mar 31, 2011
  2. Support both conventions for translations for namespaced models.

    John Firebaugh committed with tenderlove Mar 31, 2011
    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. Support both conventions for translations for namespaced models.

    John Firebaugh committed with tenderlove Mar 31, 2011
    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. Added back the use of the Reflection module's cached sanitized_condit…

    baconpat committed with tenderlove Mar 28, 2011
    …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. Merge branch 'eager_load_has_one_with_conditions_fix' of https://gith…

    tenderlove committed Mar 30, 2011
    …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. Added back the use of the Reflection module's cached sanitized_condit…

    baconpat committed Mar 28, 2011
    …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. Revert "Improve testing of cookies in functional tests:"

    tenderlove committed Mar 29, 2011
    This reverts commit e2523ff.