01/14/18 16:27
has_many_attachedでファイルを削除する時にaccepts_nested_attributes_forを使う例。
https://afreshcup.com/home/2017/07/23/activestorage-samples
editなんかでやる時に削除のシンプルなインターフェースが思い浮かばないなぁと。
has_many_attachedでファイルを削除する時にaccepts_nested_attributes_forを使う例。
https://afreshcup.com/home/2017/07/23/activestorage-samples
editなんかでやる時に削除のシンプルなインターフェースが思い浮かばないなぁと。