Rails observer (removed from core in Rails 4.0)