Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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]
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. @spastorino @tenderlove

    Bring back i18n_key to avoid regression

    spastorino authored tenderlove committed
Commits on Mar 29, 2011
  1. @tenderlove
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. @sikachu @tenderlove

    Do not show optional (.:format) block for wildcard route [#6605 state…

    sikachu authored tenderlove committed
    …: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. @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 24, 2011
  1. @joshk @spastorino

    correction to the outputted controller name in the diagnostics error …

    joshk authored spastorino committed
    …template, test included
    
    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Commits on Mar 23, 2011
  1. @pixeltrix

    Fix filter :only and :except with implicit actions

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

    updating ar changelog

    tenderlove authored
  5. @iain @tenderlove

    Reapply extensions when using except and only

    iain authored tenderlove committed
Commits on Mar 18, 2011
  1. @spastorino

    Update CHANGELOG entry

    spastorino authored
  2. @spastorino

    Sync attribute_methods.rb with master code, tests added

    spastorino authored
    [#6580 state:committed]
Commits on Mar 17, 2011
  1. @spastorino

    Add AMo CHANGELOG entry

    spastorino authored
  2. @paneq @spastorino

    Fix when database column name has some symbolic characters. [#5818 st…

    paneq authored spastorino committed
    …ate:resolved]
Commits on Mar 16, 2011
  1. @spastorino
  2. @joshk @spastorino

    fixes an issue with number_to_human when converting values which are …

    joshk authored spastorino committed
    …less than 1 but greater than -1 [#6576 state:resolved]
    
    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
  3. @spastorino

    Refactor length validation

    spastorino authored
Something went wrong with that request. Please try again.