Marc-Andre Lafortune
|
dc74f0cb1b
|
notify_observers should be public
|
2012-04-30 22:13:26 -04:00 |
|
Aaron Patterson
|
206b43a954
|
Merge pull request #6063 from marcandre/observer_extra_args
Allow extra arguments for Observers
|
2012-04-30 16:43:22 -07:00 |
|
Marc-Andre Lafortune
|
24c068d67d
|
Allow extra arguments for Observers
|
2012-04-30 18:10:03 -04:00 |
|
Arun Agrawal
|
7f248076a3
|
build fix for observing_test.rb
introduced here 17c990b153
|
2012-04-30 15:27:18 +05:30 |
|
Santiago Pastorino
|
4cff1a2809
|
Merge pull request #6072 from marcandre/observer_simplify_test
Observer: simplify tests
|
2012-04-30 00:15:51 -07:00 |
|
Jeremy Kemper
|
0393c7cd51
|
Merge pull request #6071 from marcandre/observer_redef
Fix Observer by acting on singleton class. Fixes #3505.
|
2012-04-29 21:10:15 -07:00 |
|
Marc-Andre Lafortune
|
17c990b153
|
Observer: simplify tests
|
2012-04-29 22:02:02 -04:00 |
|
Marc-Andre Lafortune
|
bad44e4f8f
|
Fix Observer by acting on singleton class [#3505]
Also [issue #1034] [pull #6068]
|
2012-04-29 21:51:50 -04:00 |
|
Marc-Andre Lafortune
|
569fb1fffb
|
Generate appropriate error more judiciously
|
2012-04-29 00:51:56 -04:00 |
|
Oscar Del Ben
|
27d6ccd8c8
|
Rename Observing#count_observers to Observing#observers_count
|
2012-04-14 10:48:53 +02:00 |
|
Myron Marston
|
d3c15a1d31
|
Allow ActiveRecord observers to be disabled.
We have to use Observer#update rather than Observer#send since the enabled state is checked in #update before forwarding the method call on.
|
2011-08-12 20:48:44 -07:00 |
|
Myron Marston
|
1f8cc446d9
|
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.
|
2011-04-28 10:23:49 +08:00 |
|
Jeremy Kemper
|
1924cff934
|
Fix Active Model observer tests
|
2010-04-16 13:14:52 -07:00 |
|
Joshua Peek
|
6dc9ad80e6
|
Fix warnings in AMo
|
2009-09-05 19:10:21 -05:00 |
|
Joshua Peek
|
6944b391cd
|
Kill AMo Base
|
2009-07-21 00:13:26 -05:00 |
|
Joshua Peek
|
4d70359200
|
Integrate ActiveModel::Observing into ActiveRecord
|
2009-06-10 23:36:44 -05:00 |
|
Pratik Naik
|
5b1a1bf5bf
|
Make Active Model test suite similar to Active Record
|
2009-03-20 10:32:24 +00:00 |
|