Skip to content
Commits on Nov 29, 2012
  1. @rafaelfranca

    Remove observers and sweepers

    rafaelfranca committed
    They was extracted from a plugin.
    [Rafael Mendonça França + Steve Klabnik]
Commits on Nov 25, 2012
  1. @senny
  2. @senny

    cleanup, remove broken whitespace

    senny committed
Commits on Oct 30, 2012
  1. @gazay
Commits on Oct 29, 2012
  1. @nikitug

    Provide a call stack for deprecation warnings where needed.

    nikitug committed
    It's sometimes hard to quickly find where deprecated call was performed, especially in case of migrating between Rails versions. So this is an attempt to improve the call stack part of the warning message by providing caller explicitly.
Commits on Oct 21, 2012
  1. minor edits in AM documentation [ci skip]

    Francesco Rodriguez committed
Commits on Aug 4, 2012
  1. @vijaydev

    Merge branch 'master' of

    vijaydev committed
Commits on Aug 3, 2012
  1. @jonleighton

    Remove ActiveRecord::Base.to_a

    jonleighton committed
    On reflection, it seems like a bit of a weird method to have on
    ActiveRecord::Base, and it shouldn't be needed most of the time anyway.
Commits on Aug 2, 2012
  1. @fxn
Commits on Jul 31, 2012
  1. update ActiveModel::Observer documentation [ci skip]

    Francesco Rodriguez committed
  2. add :nodoc: to ActiveModel::Observing#inherited [ci skip]

    Francesco Rodriguez committed
  3. update ActiveModel::Observing documentation [ci skip]

    Francesco Rodriguez committed
Commits on Jul 27, 2012
  1. @jonleighton

    ActiveRecord::Base.all returns a Relation.

    jonleighton committed
    Previously it returned an Array.
    If you want an array, call e.g. `Post.to_a` rather than `Post.all`. This
    is more explicit.
    In most cases this should not break existing code, since
    Relations use method_missing to delegate unknown methods to #to_a
Commits on Jul 3, 2012
  1. @acapilleri

    observer update refactoring

    acapilleri committed
Commits on May 1, 2012
  1. @marcandre
Commits on Apr 30, 2012
  1. @tenderlove

    Merge pull request #6063 from marcandre/observer_extra_args

    tenderlove committed
    Allow extra arguments for Observers
  2. @marcandre
  3. @jeremy

    Merge pull request #6071 from marcandre/observer_redef

    jeremy committed
    Fix Observer by acting on singleton class. Fixes #3505.
  4. @marcandre

    Fix Observer by acting on singleton class [#3505]

    marcandre committed
    Also [issue #1034] [pull #6068]
Commits on Apr 29, 2012
  1. @marcandre
  2. @marcandre

    Fix error message:

    marcandre committed
    - can pass the class, not the instance
    - "instance method" is confusing, use "method :instance" instead
Commits on Apr 25, 2012
  1. @oscardelben
  2. @josevalim

    Merge pull request #5841 from oscardelben/rename_count_observers

    josevalim committed
    Rename Observing#count_observers to Observing#observers_count
Commits on Apr 18, 2012
  1. @oscardelben
Commits on Apr 14, 2012
  1. @oscardelben

    Rename notify_observers argument *arg to *args to make it more clear

    oscardelben committed
    that the method accepts multiple arguments
  2. @oscardelben
Commits on Jan 24, 2012
  1. @hindenbug

    quote fix ` to ' in the ArgumentError message

    hindenbug committed
    message quote fix
Commits on Jan 6, 2012
  1. @rafaelfranca
Commits on Nov 7, 2011
  1. @luckydev
Commits on Aug 13, 2011
  1. @myronmarston

    Allow ActiveRecord observers to be disabled.

    myronmarston committed
    We have to use Observer#update rather than Observer#send since the enabled state is checked in #update before forwarding the method call on.
Commits on May 21, 2011
  1. @ganeshkumar
Commits on May 19, 2011
  1. @guilleiguaran
Commits on May 6, 2011
  1. @myronmarston
Commits on Apr 30, 2011
  1. @smartinez87
Commits on Apr 28, 2011
  1. @myronmarston

    Fix bug with AM::Observer disablement.

    myronmarston committed
    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 :).
Something went wrong with that request. Please try again.