When a method inside a prepend_before_action calls simple_message, simple_messages_initialize is not executed, so is neessary to check if @simple_messages_models and @dont_simple_messages_models are defined.