Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
だから私はラックのドキュメントから推測しましたが、間違っているかもしれません...
確かにそうです。リクエストが Rails アプリケーションに到達する前に、追加のルーティング ハンドラーを追加するラック ミドルウェアを作成できます。
http://guides.rubyonrails.org/rails_on_rack.html
さらに、「rakeミドルウェア」を実行して、現在インストールされているラックモジュールを表示することもできます。