I am trying to assign a message to flash[:notice] in a model observer.
This question has already been asked: Ruby on Rails: Observers and flash[:notice] messages?
No, you set it in the controller where the saving is occurring. flash is a method defined on ActionController::Base.
flash
ActionController::Base