Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Apr 18, 2011
  1. @tenderlove

    bumping version for release

    tenderlove authored
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
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. @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
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. @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. @pixeltrix
  2. @pixeltrix
  3. @pixeltrix
Commits on Mar 28, 2011
  1. @tenderlove
  2. @tenderlove

    updating AR changelog

    tenderlove authored
  3. @smartinez87 @spastorino

    Un-deprecate #reorder method

    smartinez87 authored spastorino committed
    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
  4. @jeremy @tenderlove

    Cheaper attribute reads and respond_to?. Add underscore-prefixed meth…

    jeremy authored tenderlove committed
    …od aliased to the attribute name so it can be overridden but still called internally.
Commits on Mar 27, 2011
  1. @tenderlove
  2. @tenderlove
Commits on Mar 26, 2011
  1. @tenderlove
  2. @tenderlove

    fixing whitespace errors. :bomb:

    tenderlove authored
  3. @jstorimer @pixeltrix

    Correct docs for after_find and after_initialize

    jstorimer authored pixeltrix committed
Commits on Mar 23, 2011
  1. @adzap @tenderlove

    Fix before_type_cast for timezone aware attributes by caching convert…

    adzap authored tenderlove committed
    …ed value on write. Also remove read method reload arg on timezone attributes.
  2. @h-lame @tenderlove

    Make clearing of HABTM join table contents happen in an after_destory…

    h-lame authored tenderlove committed
    … callback.
    
    The old method of redefining destroy meant that clearing the HABTM join table would happen as long as the call to destroy succeeded.  Which meant if there was a before_destroy that stopped the instance being destroyed using normal means (returning false, raising ActiveRecord::Rollback) rather than exceptional means the join table would be cleared even though the instance wasn't destroyed.  Doing it in an after_destroy hook avoids this and has the advantage of happening inside the DB transaction too.
  3. @h-lame @tenderlove

    Failing test case to show that habtm join table contents are removed …

    h-lame authored tenderlove committed
    …when a model is destroyed but the destruction is blocked by a before_destroy.
Commits on Mar 22, 2011
  1. @spastorino
Something went wrong with that request. Please try again.