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.
.txtファイルからファイルの内容を読み取り、それらの内容をデータベースに保存する必要があります。このcmsページの必要性。シードファイルの実行中にcmsページをロードしたい。どなたかお願いします。
File.read("PATH_TO_FILE")
次に、通常どおりdbに書き込みます。
シンタックスハイライターを実行する前の要素?