Skip to content
This repository

May 21, 2011

  1. Ganesh Kumar

    ActionMailer deliver method Documentation corrected Ticket #761

May 19, 2011

  1. Guillermo Iguaran

    Prefer each instead of for in

May 06, 2011

  1. Myron Marston

    Add documentation for new observer enable/disable feature.

Apr 30, 2011

  1. Sebastian Martinez

    Improved ActiveModel Observing docs.

    authored April 30, 2011

Apr 28, 2011

  1. Myron Marston

    Fix bug with AM::Observer disablement.

    Now that we propagate the enabling/disabling to descendants, we no longer have to check the disabled_observer Set on each superclass of the model class.  This was causing a bug when disabling all observers at a superclass level and then enabling an individual observer at a subclass level.
    
    Plus the logic is simpler now :).
    authored April 28, 2011
  2. Myron Marston

    Fix dev env memory leaks by using AS::DescendantsTracker rather than …

    …keeping track of subclasses manually.
    
    There's also no need to keep track of all ObserverArray instances in a hash, as this is likely to leak memory, too.
    authored April 28, 2011
  3. Myron Marston

    Revert "Revert "Handle enabling/disabling observers at different leve…

    …ls of the class hierarchy.""
    
    This reverts commit 2a25c58.
    
    I'm going to add another commit that keeps the same behavior of fixes
    the problems of leaking memory in development.
    authored April 28, 2011
  4. José Valim

    Revert "Handle enabling/disabling observers at different levels of th…

    …e class hierarchy."
    
    This reverts commit ad62f19 because the current
    subclasses implementation leaks memory in development.
    
    Instead of keeping an array of subclasses, the better solution is to
    ask the parent if an observer is being disabled or not.
    authored April 28, 2011
  5. Myron Marston

    Handle enabling/disabling observers at different levels of the class …

    …hierarchy.
    
    Last call wins.
    authored April 28, 2011 dhh committed April 28, 2011
  6. Myron Marston

    Allow observers to be enabled and disabled.

    This is useful in situations like model unit tests and the occasional rake task to backfill old data.
    authored April 28, 2011 dhh committed April 28, 2011
  7. Myron Marston

    Wrap line that is over 200 characters long. Now it's much easier to r…

    …ead.
    authored April 03, 2011 dhh committed April 28, 2011

Apr 22, 2011

  1. Josh Kalderimis

    minor correction to the Active Model instantiate_observers doc

    authored April 22, 2011

Mar 06, 2011

  1. Paco Guzmán

    remove unused assigned variable

    authored March 06, 2011

Feb 21, 2011

  1. Xavier Noria

    copy-edits 6d7a826

    authored February 21, 2011
  2. Nick Rowe

    Documentation: Added small comments to Observering module

    authored February 20, 2011

Feb 16, 2011

  1. Jimmy Cuadra

    add note about observer config for rails apps

    ActiveModel::Observer and ActiveRecord::Observer have similar
    documentation, but a Rails user looking at the ActiveModel version
    might not realize that a change to config/application.rb is
    required to activate the observer. This change adds a note to
    that effect, pointing to the AR version from the AM version.
    authored February 16, 2011

Jan 15, 2011

  1. Ravil Bayramgalin

    Remove reference to ActiveRecord from ActiveModel comments

    authored January 15, 2011

Sep 01, 2010

  1. Subba Rao Pasupuleti

    reader method eliminates defined? checks

    Signed-off-by: José Valim <jose.valim@gmail.com>
    authored August 31, 2010 josevalim committed September 01, 2010

Aug 26, 2010

  1. Jaime Iniesta

    lifecycle should be two words, life cycle

    authored August 26, 2010 fxn committed August 26, 2010

Aug 14, 2010

  1. Santiago Pastorino

    Deletes trailing whitespaces (over text files only find * -type f -ex…

    …ec sed 's/[ \t]*$//' -i {} \;)
    authored August 14, 2010

Jul 08, 2010

  1. José Valim

    Improve a bit the code in latest commits.

    authored July 08, 2010
  2. Łukasz Strzałkowski

    Removing method before redefining it. It was causing warnings. [#5072

    …state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
    authored July 08, 2010 josevalim committed July 08, 2010

Jun 26, 2010

  1. Santiago Pastorino

    Move constantize from conversions to inflections.

    This removes ActiveModel dependency on TZInfo.
    
    [#4979 state:committed]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
    authored June 26, 2010 josevalim committed June 26, 2010

Jun 14, 2010

  1. Rizwan Reza

    Revised and added headings.

    authored June 14, 2010

Jun 07, 2010

  1. Santiago Pastorino

    Observing module is using constantize

    authored June 07, 2010 Carl Lerche committed June 06, 2010

Apr 16, 2010

  1. Jeremy Kemper

    Fix Active Model observer tests

    authored April 16, 2010
  2. Mislav Marohnić

    ActiveModel::Observing: stop using Observable Ruby module, re-impleme…

    …nt `notify_observers`
    
    `Observable#notify_observers` from Ruby always returns false (which halts ActiveRecord
    callback chains) and has extra features (like `changed`) that were never used.
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
    authored April 16, 2010 jeremy committed April 16, 2010

Jan 18, 2010

  1. Fixing documentation on ActiveModel::Observer#observed_classes

    authored January 17, 2010 mwhuss committed January 18, 2010

Jan 17, 2010

  1. Mikel Lindsaar

    Fixing documentation for ActiveModel::Observer

    authored January 17, 2010

Sep 02, 2009

  1. Joshua Peek

    Kill AMo observing wrap_with_notifications since ARes was only using it

    authored September 02, 2009

Jul 21, 2009

  1. Joshua Peek

    Improve AMo observing docs

    authored July 21, 2009
  2. Joshua Peek

    Add wrap_with_notifications helper to AMo observing

    authored July 20, 2009

Jun 11, 2009

  1. Joshua Peek

    Move observing notify helper into AMo

    authored June 11, 2009
  2. Joshua Peek

    Fix observing AS dependencies

    authored June 11, 2009
  3. Joshua Peek

    Integrate ActiveModel::Observing into ActiveRecord

    authored June 10, 2009
Something went wrong with that request. Please try again.