ActionDispatch::Callbacks.to_prepare in 3.0