Permalink
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.

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

    tenderlove committed Mar 29, 2011
    This reverts commit e2523ff.
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

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

    sikachu committed with tenderlove Mar 28, 2011
    …:resolved]
    
    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.
  5. Cheaper attribute reads and respond_to?. Add underscore-prefixed meth…

    jeremy committed with tenderlove Aug 31, 2010
    …od aliased to the attribute name so it can be overridden but still called internally.
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 …

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

    pixeltrix committed Mar 23, 2011
    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]
  2. Fix before_type_cast for timezone aware attributes by caching convert…

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

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

    h-lame committed with tenderlove Mar 11, 2011
    …when a model is destroyed but the destruction is blocked by a before_destroy.
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

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

    spastorino committed Mar 17, 2011