Permalink
Browse files

Added a better explanation for config.active_record.observers when us…

…ing it in tandem with script/generate observer.

Thanks to halogenandtoast from #rubyonrails for pointing this out.
  • Loading branch information...
1 parent 28546e8 commit c38dc3cd6de73e573823d6b1a83cafd1492ae018 @radar radar committed Aug 3, 2008
Showing with 2 additions and 1 deletion.
  1. +2 −1 railties/environments/environment.rb
@@ -63,5 +63,6 @@
# config.active_record.schema_format = :sql
# Activate observers that should always be running
- # config.active_record.observers = :cacher, :garbage_collector
+ # Please note that observers generated using script/generate observer need to have an _observer suffix
+ # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
end

0 comments on commit c38dc3c

Please sign in to comment.