Gets an array of observers
observing this model. The array also provides enable and
disable methods that allow you to selectively enable and disable
observers.
(see ActiveModel::ObserverArray.enable and
ActiveModel::ObserverArray.disable for more on this)
# File activemodel/lib/active_model/observing.rb, line 48
def observers
@observers ||= ObserverArray.new(self)
end