replace class_eval by define_method in abstract_controller/callbacks
Merge pull request #10764 from mokevnin/replace_class_eval_by_define_method

replace class_eval by define_method in abstract_controller/callbacks