エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
GitHub - tekin/file_column: git mirror of file_column plugin, patched to partition ids. **Note:** you really should not be using this anymore...
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
GitHub - tekin/file_column: git mirror of file_column plugin, patched to partition ids. **Note:** you really should not be using this anymore...
FEATURES ======== Let's assume an model class named Entry, where we want to define the "image" co... FEATURES ======== Let's assume an model class named Entry, where we want to define the "image" column as a "file_upload" column. class Entry < ActiveRecord::Base file_column :image end * every entry can have one uploaded file, the filename will be stored in the "image" column * files will be stored in "public/entry/image/<entry.id>/filename.ext" * Newly uploaded files will be stored in "public/ent