aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/observing_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* notify_observers should be publicMarc-Andre Lafortune2012-04-301-2/+9
|
* Merge pull request #6063 from marcandre/observer_extra_argsAaron Patterson2012-04-301-2/+9
|\ | | | | Allow extra arguments for Observers
| * Allow extra arguments for ObserversMarc-Andre Lafortune2012-04-301-2/+9
| |
* | build fix for observing_test.rbArun Agrawal2012-04-301-1/+1
| | | | | | introduced here 17c990b153f8635874c006a7460ee95817543fc1
* | Merge pull request #6072 from marcandre/observer_simplify_testSantiago Pastorino2012-04-301-11/+4
|\ \ | | | | | | Observer: simplify tests
| * | Observer: simplify testsMarc-Andre Lafortune2012-04-291-11/+4
| |/
* | Merge pull request #6071 from marcandre/observer_redefJeremy Kemper2012-04-291-2/+13
|\ \ | | | | | | Fix Observer by acting on singleton class. Fixes #3505.
| * | Fix Observer by acting on singleton class [#3505]Marc-Andre Lafortune2012-04-291-2/+13
| |/ | | | | | | Also [issue #1034] [pull #6068]
* / Generate appropriate error more judiciouslyMarc-Andre Lafortune2012-04-291-0/+15
|/
* Rename Observing#count_observers to Observing#observers_countOscar Del Ben2012-04-141-1/+1
|
* Allow ActiveRecord observers to be disabled.Myron Marston2011-08-121-0/+12
| | | We have to use Observer#update rather than Observer#send since the enabled state is checked in #update before forwarding the method call on.
* Allow observers to be enabled and disabled.Myron Marston2011-04-281-0/+5
| | | | This is useful in situations like model unit tests and the occasional rake task to backfill old data.
* Fix Active Model observer testsJeremy Kemper2010-04-161-2/+0
|
* Fix warnings in AMoJoshua Peek2009-09-051-0/+1
|
* Kill AMo BaseJoshua Peek2009-07-211-2/+5
|
* Integrate ActiveModel::Observing into ActiveRecordJoshua Peek2009-06-101-12/+20
|
* Make Active Model test suite similar to Active RecordPratik Naik2009-03-201-0/+121