# What are Cacher & GarbageCollector for?

**URL:** <https://www.ruby-forum.com/t/what-are-cacher-garbagecollector-for/103015>\
**Category:** Rails\
**Created:** [April 30, 2007, 8:47pm UTC](https://www.ruby-forum.com/t/what-are-cacher-garbagecollector-for/103015 "2007-04-30T20:47:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmay](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e8c25b/32.png) [@jmay](https://www.ruby-forum.com/u/jmay)\
**Post date:** [April 30, 2007, 8:47pm UTC](https://www.ruby-forum.com/t/what-are-cacher-garbagecollector-for/103015/1 "2007-04-30T20:47:22Z")

</div>

In the default environment.rb that is created with a new Rails app,  
the following line is commented out:

# config.active\_record.observers = :cacher, :garbage\_collector

What are these two observers for? I can’t find documentation for  
these anywhere.

Thanks,  
-Jason

---

<div class="post-metadata">

**Author:** ![jmay](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e8c25b/32.png) [@jmay](https://www.ruby-forum.com/u/jmay)\
**Post date:** [May 1, 2007, 1:53am UTC](https://www.ruby-forum.com/t/what-are-cacher-garbagecollector-for/103015/2 "2007-05-01T01:53:10Z")

</div>

On 4/30/07, jmay [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> In the default environment.rb that is created with a new Rails app,  
> the following line is commented out:
> 
> # config.active\_record.observers = :cacher, :garbage\_collector
> 
> What are these two observers for? I can’t find documentation for  
> these anywhere.

Those aren’t real. That line is used as an example. If anything,  
they’re real observers for someone’s app. I mean, if you were going  
to make them up, why not use something like:

# config.active\_record.observers = :flux\_capacitor

–  
Rick O.  
[http://lighthouseapp.com](http://lighthouseapp.com)  
[http://weblog.techno-weenie.net](http://weblog.techno-weenie.net)  
[http://mephistoblog.com](http://mephistoblog.com)
