module ActiveModel::Callbacks
def _define_around_model_callback(klass, callback)
def _define_around_model_callback(klass, callback) klass.define_singleton_method("around_#{callback}") do |*args, **options, &block| options.assert_valid_keys(:if, :unless, :prepend) set_callback(:"#{callback}", :around, *args, options, &block) end end