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.
私が持っている「ローカル」XMLファイルからいくつかのデータをロードするRuby on Railsサイトを書いています。このファイルを格納するための rails ディレクトリ構造の論理的な場所はどこですか?
ここでの主な質問は、そのXMLファイルがある理由(構成情報またはデータストレージ)です。最初の場合、最適な場所はcongifフォルダーです。それ以外の場合は、パブリックフォルダー以外の任意の場所に、アプリ1内にxmlフォルダーを作成することもできます。