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.
簡単なレールアプリを作成しました。開発モードでは、典型的な「ようこそページ」が表示されましたが、プロダクション モードでは、コントローラーを作成してルート ルートを設定するまで、エラーActionController::RoutingError (No route matches [GET] "/")が発生しました。本番環境で「ようこそページ」が表示されないのはなぜですか?
ウェルカムコントローラーは開発専用です。これは、開発環境でのみ機能することを示す、それを追加したプル リクエストです。
https://github.com/rails/rails/pull/8468