ランキング参加中プログラミング[50]メッセージと会話| リアルタイムコメント [ホームに戻る] >> [52]フルカレンダー コメントにファイルを添付できるようにします。 「app\models\comment.rb」に以下の記述を追加します。 記述追加 app\models\comment.rb(5行目) has_one_attached :attachment_file app\models\comment.rb class Comment < ApplicationRecord belongs_to :user belongs_to :order has_one_attached :a…