Commits on Apr 5, 2011
  1. bumping version to 3.0.6

    tenderlove committed Apr 5, 2011
  2. updating CHANGELOG

    tenderlove committed Apr 5, 2011
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.

    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
    [#6448, #5572]
    John Firebaugh committed with tenderlove Mar 31, 2011
Commits on Mar 30, 2011
  1. Added back the use of the Reflection module's cached sanitized_condit…

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

    This reverts commit e2523ff.
    tenderlove committed Mar 29, 2011
Commits on Mar 28, 2011
  1. bumping version to 3.0.6.rc1

    tenderlove committed Mar 28, 2011
  2. updating AR changelog

    tenderlove committed Mar 28, 2011
  3. Un-deprecate #reorder method

    Signed-off-by: Santiago Pastorino <>
    smartinez87 committed with spastorino Mar 28, 2011
  4. Do not show optional (.:format) block for wildcard route [#6605 state…

    This will make the output of `rake routes` to be correctly match to the behavior of the application, as the regular expression used to match the path is greedy and won't capture the format part by default
    This commit is the second attempt on fixing the issue, as the regular expression on another commit on `master` was invalid.
    sikachu committed with tenderlove Mar 28, 2011
  5. Cheaper attribute reads and respond_to?. Add underscore-prefixed meth…

    …od aliased to the attribute name so it can be overridden but still called internally.
    jeremy committed with tenderlove Aug 31, 2010
Commits on Mar 27, 2011
Commits on Mar 26, 2011
Commits on Mar 24, 2011
  1. correction to the outputted controller name in the diagnostics error …

    …template, test included
    Signed-off-by: Santiago Pastorino <>
    joshk committed with spastorino Mar 24, 2011
Commits on Mar 23, 2011
  1. Fix filter :only and :except with implicit actions

    The method_name argument is "default_render" for implicit actions
    so use the action_name attribute to determine which callbacks to run.
    [#5673 state:resolved]
    pixeltrix committed Mar 23, 2011
  2. Fix before_type_cast for timezone aware attributes by caching convert…

    …ed value on write. Also remove read method reload arg on timezone attributes.
    adzap committed with tenderlove Mar 1, 2011
  3. Make clearing of HABTM join table contents happen in an after_destory…

    … 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.
    h-lame committed with tenderlove Mar 11, 2011
  4. Failing test case to show that habtm join table contents are removed …

    …when a model is destroyed but the destruction is blocked by a before_destroy.
    h-lame committed with tenderlove Mar 11, 2011
Commits on Mar 22, 2011
Commits on Mar 21, 2011
  1. updating ar changelog

    tenderlove committed Mar 21, 2011
Commits on Mar 18, 2011
  1. Update CHANGELOG entry

    spastorino committed Mar 18, 2011
  2. Sync attribute_methods.rb with master code, tests added

    [#6580 state:committed]
    spastorino committed Mar 18, 2011
Commits on Mar 17, 2011
  1. Add AMo CHANGELOG entry

    spastorino committed Mar 17, 2011