Displaying 1 result from an estimated 1 matches for "greenback_transactions".
2006 May 24
1
Observer behavior differences between DEV and TEST environments ?
...er never fires. I added
some logging statements to Rails'' observer.rb, and I see the calls to
update, and the subsequent notifications of my observer in development
environment, but not in the test environment.
The logs look like this:
GreenbackTransaction Load (0.000000) SELECT * FROM
greenback_transactions LIMIT 1
:after_initialize == #notify -- BEGIN (1)
GreenbackTransactionObserver#update(:after_initialize,
#<GreenbackTransaction:0x362f6d8 ...>)
after_initialize (observer)
:after_initialize == #notify -- END
The BEGIN line with the 1 in parens is the result of calling
self.class.count_observ...