Readme.md in lazy_observers-0.0.2 vs Readme.md in lazy_observers-0.0.3

- old
+ new

@@ -1,11 +1,9 @@ Make Activerecord Observers not load observed models -> faster/safer environment boot. - faster tests + console - able to boot environment without/with empty/with old database -Works on rails 2.3 + 3.0 (not yet 3.2) - Install ======= gem install lazy_observers @@ -37,13 +35,13 @@ (negates the effect of lazyness, so only use for debugging) LazyObservers.check_classes - -# TODO - - Rails 3.0: does not work for models that are loaded before the observers - - Rails 3.2: blows up +TIPS +==== + - do not use observe and lazy_observe in the same observer (and if you have to, use observe after lay_observe) + - do not use Model classes with class-methods of the observer e.g. class FooObserver; Foo.something{}; def after_update; end; end Author ====== [Michael Grosser](http://grosser.it)<br/> michael@grosser.it<br/>