- 18 4月, 2012 1 次提交
-
-
由 Oscar Del Ben 提交于
-
- 14 4月, 2012 1 次提交
-
-
由 Oscar Del Ben 提交于
that the method accepts multiple arguments
-
- 25 1月, 2012 1 次提交
-
-
由 Manoj 提交于
message quote fix
-
- 06 1月, 2012 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 07 11月, 2011 1 次提交
-
-
由 Anand 提交于
-
- 13 8月, 2011 1 次提交
-
-
由 Myron Marston 提交于
We have to use Observer#update rather than Observer#send since the enabled state is checked in #update before forwarding the method call on.
-
- 21 5月, 2011 1 次提交
-
-
由 Ganesh Kumar 提交于
-
- 19 5月, 2011 1 次提交
-
-
由 Guillermo Iguaran 提交于
-
- 07 5月, 2011 1 次提交
-
-
由 Myron Marston 提交于
-
- 01 5月, 2011 1 次提交
-
-
由 Sebastian Martinez 提交于
-
- 28 4月, 2011 7 次提交
-
-
由 Myron Marston 提交于
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 :).
-
由 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.
-
由 Myron Marston 提交于
This reverts commit 2a25c581. I'm going to add another commit that keeps the same behavior of fixes the problems of leaking memory in development.
-
由 José Valim 提交于
This reverts commit ad62f192 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.
-
由 Myron Marston 提交于
Last call wins.
-
由 Myron Marston 提交于
This is useful in situations like model unit tests and the occasional rake task to backfill old data.
-
由 Myron Marston 提交于
-
- 22 4月, 2011 1 次提交
-
-
由 Josh Kalderimis 提交于
-
- 07 3月, 2011 1 次提交
-
-
由 Paco Guzman 提交于
-
- 22 2月, 2011 2 次提交
-
-
由 Xavier Noria 提交于
-
由 Nicholas Rowe 提交于
-
- 21 2月, 2011 2 次提交
-
-
由 Xavier Noria 提交于
-
由 Nicholas Rowe 提交于
-
- 17 2月, 2011 1 次提交
-
-
由 Jimmy Cuadra 提交于
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.
-
- 15 1月, 2011 1 次提交
-
-
由 brainopia 提交于
-
- 01 9月, 2010 1 次提交
-
-
由 Subba Rao Pasupuleti 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 26 8月, 2010 2 次提交
-
-
由 Jaime Iniesta 提交于
-
由 Jaime Iniesta 提交于
-
- 14 8月, 2010 2 次提交
-
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
-
- 09 7月, 2010 2 次提交
-
-
由 José Valim 提交于
-
由 Łukasz Strzałkowski 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 27 6月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
This removes ActiveModel dependency on TZInfo. [#4979 state:committed] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 14 6月, 2010 1 次提交
-
-
由 Rizwan Reza 提交于
-
- 07 6月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
-
- 17 4月, 2010 2 次提交
-
-
由 Jeremy Kemper 提交于
-
由 Mislav Marohnić 提交于
`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: NJeremy Kemper <jeremy@bitsweat.net>
-
- 01 2月, 2010 1 次提交
-
-
由 Mikel Lindsaar 提交于
-
- 18 1月, 2010 1 次提交
-
-
由 Gavin Stark 提交于
-
- 17 1月, 2010 1 次提交
-
-
由 Mikel Lindsaar 提交于
-