我只想在一行中定义我的所有观察者,现在我有这样的代码 config.active_record.observers = :user_observer, :studet_observer, :suggestion_observer,
:progress_observer, :admin_observer, :employee_observer, :update_message_observer,
:test_observer, :question_observer, :exam_observer, :coach_observer, :wordpress_post_observer,
:answer_observer , :doubt_observer, :doubt_reply_observer, :image_format_observer #FIXME
,是否可以这样定义 config.active_record.observers_path = /app/observers
问问题
249 次